Methods and graphical user interfaces for editing on a multifunction device with a touch screen display

ABSTRACT

In some embodiments, a device displays content on a touch screen display and detects input by finger gestures. In response to the finger gestures, the device selects content, visually distinguishes the selected content, and/or updates the selected content based on detected input. In some embodiments, the device displays a command display area that includes one or more command icons; detects activation of a command icon in the command display area; and, in response to detecting activation of the command icon in the command display area, performs a corresponding action with respect to the selected content. Exemplary actions include cutting, copying, and pasting content.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.12/565,755, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display, filed Sep. 24, 2009,which claims priority to U.S. Provisional Patent Application No.61/160,698, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display,” filed Mar. 16, 2009,which is incorporated by reference herein in its entirety.

This application is related to the following applications: (1) U.S.patent application Ser. No. 12/565,750, “Methods and Graphical UserInterfaces for Editing on a Multifunction Device with a Touch ScreenDisplay,” filed Sep. 24, 2009; (2) U.S. patent application Ser. No.12/565,751, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display,” filed Sep. 24, 2009;(3) U.S. patent application Ser. No. 12/565,752, “Methods and GraphicalUser Interfaces for Editing on a Multifunction Device with a TouchScreen Display,” filed Sep. 24, 2009; (4) U.S. patent application Ser.No. 12/565,753, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display,” filed Sep. 24, 2009;(5) U.S. patent application Ser. No. 12/565,754, “Methods and GraphicalUser Interfaces for Editing on a Multifunction Device with a TouchScreen Display,” filed Sep. 24, 2009; (6) U.S. patent application Ser.No. 12/565,756, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display,” filed Sep. 24, 2009;(7) U.S. patent application Ser. No. 12/565,757, “Methods and GraphicalUser Interfaces for Editing on a Multifunction Device with a TouchScreen Display,” filed Sep. 24, 2009; (8) U.S. patent application Ser.No. 12/565,759, “Methods and Graphical User Interfaces for Editing on aMultifunction Device with a Touch Screen Display,” filed Sep. 24, 2009;and (9) U.S. patent application Ser. No. 12/565,760, “Methods andGraphical User Interfaces for Editing on a Multifunction Device with aTouch Screen Display,” filed Sep. 24, 2009, which are incorporated byreference herein in their entirety.

TECHNICAL FIELD

The disclosed embodiments relate generally to multifunction devices withtouch screen displays, and more particularly, to conducting edits (e.g.,cutting, copying, or pasting user-selected content) on such devices.

BACKGROUND

As electronic devices become more compact, and the number of functionsperformed by a given device increase, it has become a significantchallenge to design a user interface that allows users to easilyinteract with a multifunction device. This challenge is particularsignificant for handheld portable devices, which have much smallerscreens than desktop or laptop computers. This situation is unfortunatebecause the user interface is the gateway through which users receivenot only content but also responses to user actions or behaviors,including user attempts to access a device's features, tools, andfunctions. Some portable communication devices (e.g., mobile telephones,sometimes called mobile phones, cell phones, cellular telephones, andthe like) have resorted to adding more pushbuttons, increasing thedensity of push buttons, overloading the functions of pushbuttons, orusing complex menu systems to allow a user to access, store andmanipulate data. These conventional user interfaces often result incomplicated key sequences and menu hierarchies that must be memorized bythe user.

Many conventional user interfaces, such as those that include physicalpushbuttons, are also inflexible. This is unfortunate because it mayprevent a user interface from being configured and/or adapted by eitheran application running on the portable device or by users. When coupledwith the time consuming requirement to memorize multiple key sequencesand menu hierarchies, and the difficulty in activating a desiredpushbutton, such inflexibility is frustrating to most users.

Conventional user interfaces on multifunction devices with touch screendisplays do not provide a simple and intuitive way to edit text andgraphics. Editing functions such as cut, copy, and paste (if they evenexist) are often difficult to find and use, thereby creating asignificant cognitive burden on a user. In addition, conventionalediting methods take longer than necessary, thereby wasting energy. Thislatter consideration is particularly important in battery-operateddevices.

Accordingly, there is a need for multifunction devices with touch screendisplays with faster, more efficient methods and interfaces for editingcontent. Such methods and interfaces reduce the cognitive burden on auser and produce a more efficient human-machine interface. Forbattery-operated multi function devices, such methods and interfacesconserve power and increase the time between battery charges.

SUMMARY

The above deficiencies and other problems associated with userinterfaces for multifunction devices with touch screen displays arereduced or eliminated by the disclosed devices. In some embodiments, thedevice is a desktop computer with a touch screen display. In someembodiments, the device is portable (e.g., a notebook computer orhandheld device). In some embodiments, the device has a touch-sensitivedisplay (also known as a “touch screen” or “touch screen display”). Insome embodiments, the device has a graphical user interface (GUI), oneor more processors, memory and one or more modules, programs or sets ofinstructions stored in the memory for performing multiple functions. Insome embodiments, the user interacts with the GUI primarily throughfinger contacts and gestures on the touch screen display. In someembodiments, the functions may include image editing, drawing,presenting, word processing, website creating, disk authoring,spreadsheet making, game playing, telephoning, video conferencing,c-mailing, instant messaging, workout support, digital photographing,digital videoing, web browsing, digital music playing, and/or digitalvideo playing. Executable instructions for performing these functionsmay be included in a computer readable storage medium or other computerprogram product configured for execution by one or more processors.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying editable content on thetouch screen display at a first magnification; detecting a fingergesture on the editable content; in response to detecting the fingergesture on the editable content: expanding a portion of the editablecontent on the touch screen display to a second magnification that isgreater than the first magnification while continuing to display atleast some of the editable content at the first magnification; anddisplaying a content magnifier that displays the expanded portion of theeditable content and an insertion marker at a first location within theexpanded portion of the editable content; detecting movement of a fingercontact across the touch screen display; moving the content magnifierand changing the expanded portion of the editable content in accordancewith the detected movement of the finger contact; moving the insertionmarker from the first location to a second location within the expandedportion of the editable content in accordance with the detected movementof the finger contact; detecting lift off of the finger contact whilethe insertion marker is located at the second location within theexpanded portion of the editable content; and, in response to detectinglift off of the finger contact: ceasing to display the content magnifierand the expanded portion of the editable content; displaying theinsertion marker at a current location in the editable content at thefirst magnification, wherein the current location corresponds to thesecond location within the expanded portion of the editable content; anddisplaying a first command display area adjacent to the insertionmarker, wherein the first command display arca includes an icon forselecting content associated with the current location of the insertionmarker.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes: editable content at a first magnification, a contentmagnifier, an insertion marker, and a command display area; wherein: inresponse to detecting a finger gesture on the editable content: aportion of the editable content on the touch screen display is expandedto a second magnification that is greater than the first magnificationwhile continuing to display at least some of the editable content at thefirst magnification; and the content magnifier is displayed, wherein thecontent magnifier displays the expanded portion of the editable contentand the insertion marker at a first location within the expanded portionof the editable content; the content magnifier is moved and the expandedportion of the editable content is changed in accordance with detectedmovement of a finger contact across the touch screen display; theinsertion marker is moved from the first location to a second locationwithin the expanded portion of the editable content in accordance withthe detected movement of the finger contact; and, in response todetecting lift off of the finger contact while the insertion marker islocated at the second location within the expanded portion of theeditable content: display of the content magnifier and the expandedportion of the editable content are ceased; the insertion marker isdisplayed at a current location in the editable content at the firstmagnification, wherein the current location corresponds to the secondlocation within the expanded portion of the editable content; and thecommand display area is displayed adjacent to the insertion marker,wherein the command display area includes an icon for selecting contentassociated with the current location of the insertion marker.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying editable content on thetouch screen display at a first magnification; detecting a fingergesture on the editable content; in response to detecting the fingergesture on the editable content: expanding a portion of the editablecontent on the touch screen display to a second magnification that isgreater than the first magnification while continuing to display atleast some of the editable content at the first magnification; anddisplaying a content magnifier that displays the expanded portion of theeditable content and an insertion marker at a first location within theexpanded portion of the editable content; detecting movement of a fingercontact across the touch screen display; moving the content magnifierand changing the expanded portion of the editable content in accordancewith the detected movement of the finger contact; moving the insertionmarker from the first location to a second location within the expandedportion of the editable content in accordance with the detected movementof the finger contact; detecting lift off of the finger contact whilethe insertion marker is located at the second location within theexpanded portion of the editable content; and, in response to detectinglift off of the finger contact: ceasing to display the content magnifierand the expanded portion of the editable content; displaying theinsertion marker at a current location in the editable content at thefirst magnification, wherein the current location corresponds to thesecond location within the expanded portion of the editable content; anddisplaying a first command display area adjacent to the insertionmarker, wherein the first command display area includes an icon forselecting content associated with the current location of the insertionmarker.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: displayeditable content on the touch screen display at a first magnification;detect a finger gesture on the editable content; in response todetecting the finger gesture on the editable content: expand a portionof the editable content on the touch screen display to a secondmagnification that is greater than the first magnification whilecontinuing to display at least some of the editable content at the firstmagnification; and display a content magnifier that displays theexpanded portion of the editable content and an insertion marker at afirst location within the expanded portion of the editable content;detect movement of a finger contact across the touch screen display;move the content magnifier and changing the expanded portion of theeditable content in accordance with the detected movement of the fingercontact; move the insertion marker from the first location to a secondlocation within the expanded portion of the editable content inaccordance with the detected movement of the finger contact; detect liftoff of the finger contact while the insertion marker is located at thesecond location within the expanded portion of the editable content;and, in response to detecting lift off of the finger contact: cease todisplay the content magnifier and the expanded portion of the editablecontent; display the insertion marker at a current location in theeditable content at the first magnification, wherein the currentlocation corresponds to the second location within the expanded portionof the editable content; and display a first command display areaadjacent to the insertion marker, wherein the first command display areaincludes an icon for selecting content associated with the currentlocation of the insertion marker.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying editable content on the touchscreen display at a first magnification; means for detecting a fingergesture on the editable content; in response to detecting the fingergesture on the editable content: means for expanding a portion of theeditable content on the touch screen display to a second magnificationthat is greater than the first magnification while continuing to displayat least some of the editable content at the first magnification; andmeans for displaying a content magnifier that displays the expandedportion of the editable content and an insertion marker at a firstlocation within the expanded portion of the editable content; means fordetecting movement of a finger contact across the touch screen display;means for moving the content magnifier and changing the expanded portionof the editable content in accordance with the detected movement of thefinger contact; means for moving the insertion marker from the firstlocation to a second location within the expanded portion of theeditable content in accordance with the detected movement of the fingercontact; means for detecting lift off of the finger contact while theinsertion marker is located at the second location within the expandedportion of the editable content; and, in response to detecting lift offof the finger contact: means for ceasing to display the contentmagnifier and the expanded portion of the editable content; means fordisplaying the insertion marker at a current location in the editablecontent at the first magnification, wherein the current locationcorresponds to the second location within the expanded portion of theeditable content; and means for displaying a first command display areaadjacent to the insertion marker, wherein the first command display areaincludes an icon for selecting content associated with the currentlocation of the insertion marker.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying read-only content onthe touch screen display at a first magnification; detecting a fingergesture on the read-only content; in response to detecting the fingergesture on the read-only content: expanding a portion of the read-onlycontent on the touch screen display to a second magnification that isgreater than the first magnification while continuing to display atleast some of the read-only content at the first magnification; anddisplaying a content magnifier that displays the expanded portion of theread-only content and a position marker at a first location within theexpanded portion of the read-only content; detecting movement of afinger contact across the touch screen display; moving the contentmagnifier and changing the expanded portion of the read-only content inaccordance with the detected movement of the finger contact; moving theposition marker from the first location to a second location within theexpanded portion of the read-only content in accordance with thedetected movement of the finger contact; detecting lift off of thefinger contact while the position marker is located at the secondlocation within the expanded portion of the read-only content; and, inresponse to detecting lift off of the finger contact: ceasing to displaythe content magnifier, the expanded portion of the read-only content,and the position marker; and displaying a first command display areaadjacent to a current location in the read-only content at the firstmagnification, wherein the current location corresponds to the secondlocation within the expanded portion of the read-only content, whereinthe first command display area includes an icon for selecting contentassociated with the current location.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes: read-only content at a first magnification, a contentmagnifier, an position marker, and a command display area; wherein: inresponse to detecting a finger gesture on the read-only content: aportion of the read-only content on the touch screen display is expandedto a second magnification that is greater than the first magnificationwhile continuing to display at least some of the read-only content atthe first magnification; and the content magnifier is displayed, whereinthe content magnifier displays the expanded portion of the read-onlycontent and a position marker at a first location within the expandedportion of the read-only content; the content magnifier is moved and theexpanded portion of the read-only content is changed in accordance withdetected movement of a finger contact; the position marker is moved fromthe first location to a second location within the expanded portion ofthe read-only content in accordance with the detected movement of thefinger contact; and, in response to detecting lift off of the fingercontact while the position marker is located at the second locationwithin the expanded portion of the read-only content: display of thecontent magnifier, the expanded portion of the read-only content, andthe position marker are ceased; and the command display area isdisplayed adjacent to a current location in the read-only content at thefirst magnification, wherein the current location corresponds to thesecond location within the expanded portion of the read-only content,wherein the command display area includes an icon for selecting contentassociated with the current location.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying read-only content on thetouch screen display at a first magnification; detecting a fingergesture on the read-only content; in response to detecting the fingergesture on the read-only content: expanding a portion of the read-onlycontent on the touch screen display to a second magnification that isgreater than the first magnification while continuing to display atleast some of the read-only content at the first magnification; anddisplaying a content magnifier that displays the expanded portion of theread-only content and a position marker at a first location within theexpanded portion of the read-only content; detecting movement of afinger contact across the touch screen display; moving the contentmagnifier and changing the expanded portion of the read-only content inaccordance with the detected movement of the finger contact; moving theposition marker from the first location to a second location within theexpanded portion of the read-only content in accordance with thedetected movement of the finger contact; detecting lift off of thefinger contact while the position marker is located at the secondlocation within the expanded portion of the read-only content; and, inresponse to detecting lift off of the finger contact: ceasing to displaythe content magnifier, the expanded portion of the read-only content,and the position marker; and displaying a first command display areaadjacent to a current location in the read-only content at the firstmagnification, wherein the current location corresponds to the secondlocation within the expanded portion of the read-only content, whereinthe first command display area includes an icon for selecting contentassociated with the current location.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: displayread-only content on the touch screen display at a first magnification;detect a finger gesture on the read-only content; in response todetecting the finger gesture on the read-only content: expand a portionof the read-only content on the touch screen display to a secondmagnification that is greater than the first magnification whilecontinuing to display at least some of the read-only content at thefirst magnification; and display a content magnifier that displays theexpanded portion of the read-only content and a position marker at afirst location within the expanded portion of the read-only content;detect movement of a finger contact across the touch screen display;move the content magnifier and changing the expanded portion of theread-only content in accordance with the detected movement of the fingercontact; move the position marker from the first location to a secondlocation within the expanded portion of the read-only content inaccordance with the detected movement of the finger contact; detect liftoff of the finger contact while the position marker is located at thesecond location within the expanded portion of the read-only content;and, in response to detecting lift off of the finger contact: cease todisplay the content magnifier, the expanded portion of the read-onlycontent, and the position marker; and display a first command displayarea adjacent to a current location in the read-only content at thefirst magnification, wherein the current location corresponds to thesecond location within the expanded portion of the read-only content,wherein the first command display area includes an icon for selectingcontent associated with the current location.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying read-only content on thetouch screen display at a first magnification; means for detecting afinger gesture on the read-only content; in response to detecting thefinger gesture on the read-only content: means for expanding a portionof the read-only content on the touch screen display to a secondmagnification that is greater than the first magnification whilecontinuing to display at least some of the read-only content at thefirst magnification; and means for displaying a content magnifier thatdisplays the expanded portion of the read-only content and a positionmarker at a first location within the expanded portion of the read-onlycontent; means for detecting movement of a finger contact across thetouch screen display; means for moving the content magnifier andchanging the expanded portion of the read-only content in accordancewith the detected movement of the finger contact; means for moving theposition marker from the first location to a second location within theexpanded portion of the read-only content in accordance with thedetected movement of the finger contact; means for detecting lift off ofthe finger contact while the position marker is located at the secondlocation within the expanded portion of the read-only content; and, inresponse to detecting lift off of the finger contact: means for ceasingto display the content magnifier, the expanded portion of the read-onlycontent, and the position marker; and means for displaying a firstcommand display area adjacent to a current location in the read-onlycontent at the first magnification, wherein the current locationcorresponds to the second location within the expanded portion of theread-only content, wherein the first command display area includes anicon for selecting content associated with the current location.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying content on the touchscreen display at a first magnification; detecting a finger gesture onthe content; in response to detecting the finger gesture on the content:expanding a portion of the content on the touch screen display to asecond magnification that is greater than the first magnification whilecontinuing to display at least some of the content at the firstmagnification; and displaying a content magnifier that displays theexpanded portion of the content and an insertion marker at a firstlocation within the expanded portion of the content; detecting movementof a finger contact across the touch screen display; moving the contentmagnifier and changing the expanded portion of the content in accordancewith the detected movement of the finger contact; moving the insertionmarker from the first location to a second location within the expandedportion of the content in accordance with the detected movement of thefinger contact; detecting lift off of the finger contact while theinsertion marker is located at the second location within the expandedportion of the content; and, in response to detecting lift off of thefinger contact: ceasing to display the content magnifier, the expandedportion of the content, and the insertion marker; and selecting contentassociated with the second location of the insertion marker.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes: content at a first magnification, a content magnifier, aninsertion marker, and a command display area; wherein: in response todetecting a finger gesture on the content: a portion of the content onthe touch screen display is expanded to a second magnification that isgreater than the first magnification while continuing to display atleast some of the content at the first magnification; and the contentmagnifier is displayed, wherein the content magnifier displays theexpanded portion of the content and the insertion marker at a firstlocation within the expanded portion of the content; the contentmagnifier is moved and the expanded portion of the content is changed inaccordance with detected movement of a finger contact; the insertionmarker is moved from the first location to a second location within theexpanded portion of the content in accordance with the detected movementof the finger contact; and, in response to detecting lift off of thefinger contact while the insertion marker is located at the secondlocation within the expanded portion of the content: display of thecontent magnifier, the expanded portion of the content, and theinsertion marker are ceased; and content associated with the secondlocation of the insertion marker is selected.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying content on the touch screendisplay at a first magnification; detecting a finger gesture on thecontent; in response to detecting the finger gesture on the content:expanding a portion of the content on the touch screen display to asecond magnification that is greater than the first magnification whilecontinuing to display at least some of the content at the firstmagnification; and displaying a content magnifier that displays theexpanded portion of the content and an insertion marker at a firstlocation within the expanded portion of the content; detecting movementof a finger contact across the touch screen display; moving the contentmagnifier and changing the expanded portion of the content in accordancewith the detected movement of the finger contact; moving the insertionmarker from the first location to a second location within the expandedportion of the content in accordance with the detected movement of thefinger contact; detecting lift off of the finger contact while theinsertion marker is located at the second location within the expandedportion of the content; and, in response to detecting lift off of thefinger contact: ceasing to display the content magnifier, the expandedportion of the content, and the insertion marker; and selecting contentassociated with the second location of the insertion marker.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display contenton the touch screen display at a first magnification; detect a fingergesture on the content; in response to detecting the finger gesture onthe content: expand a portion of the content on the touch screen displayto a second magnification that is greater than the first magnificationwhile continuing to display at least some of the content at the firstmagnification; and display a content magnifier that displays theexpanded portion of the content and an insertion marker at a firstlocation within the expanded portion of the content; detect movement ofa finger contact across the touch screen display; move the contentmagnifier and changing the expanded portion of the content in accordancewith the detected movement of the finger contact; move the insertionmarker from the first location to a second location within the expandedportion of the content in accordance with the detected movement of thefinger contact; detect lift off of the finger contact while theinsertion marker is located at the second location within the expandedportion of the content; and, in response to detecting lift off of thefinger contact: cease to display the content magnifier, the expandedportion of the content, and the insertion marker; and select contentassociated with the second location of the insertion marker.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying content on the touch screendisplay at a first magnification; means for detecting a finger gestureon the content; in response to detecting the finger gesture on thecontent: means for expanding a portion of the content on the touchscreen display to a second magnification that is greater than the firstmagnification while continuing to display at least some of the contentat the first magnification; and means for displaying a content magnifierthat displays the expanded portion of the content and an insertionmarker at a first location within the expanded portion of the content;means for detecting movement of a finger contact across the touch screendisplay; means for moving the content magnifier and changing theexpanded portion of the content in accordance with the detected movementof the finger contact; means for moving the insertion marker from thefirst location to a second location within the expanded portion of thecontent in accordance with the detected movement of the finger contact;means for detecting lift off of the finger contact while the insertionmarker is located at the second location within the expanded portion ofthe content; and, in response to detecting lift off of the fingercontact: means for ceasing to display the content magnifier, theexpanded portion of the content, and the insertion marker; and means forselecting content associated with the second location of the insertionmarker.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying content on the touchscreen display; detecting a double-tap gesture by a single finger on aword in the content; and, in response to detecting the double-tapgesture by the single finger on the word in the content: selecting theword; and displaying a start-point object and an end-point object atrespective ends of the word.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes: content, a word in the content, a start-point object; and anend-point object; wherein: in response to detecting a double-tap gestureby a single finger on the word in the content: the word is selected; andthe start-point object and the end-point object are displayed atrespective ends of the word.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying content on the touch screendisplay; detecting a double-tap gesture by a single finger on a word inthe content; and, in response to detecting the double-tap gesture by thesingle finger on the word in the content: selecting the word; anddisplaying a start-point object and an end-point object at respectiveends of the word.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display contenton the touch screen display; detect a double-tap gesture by a singlefinger on a word in the content; and, in response to detecting thedouble-tap gesture by the single finger on the word in the content:select the word; and display a start-point object and an end-pointobject at respective ends of the word.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying content on the touch screendisplay; means for detecting a double-tap gesture by a single finger ona word in the content; and, in response to detecting the double-tapgesture by the single finger on the word in the content: means forselecting the word; and means for displaying a start-point object and anend-point object at respective ends of the word.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying content on the touchscreen display; detecting one or more fingers on the touch screendisplay; recognizing a gesture made by the one or more fingers on thetouch screen display, wherein the gesture is one gesture in a pluralityof predefined gestures operable to select or assist in selecting aportion of the content; and performing an action with respect to thecontent in response to recognizing the gesture.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying content on the touch screendisplay; detecting one or more fingers on the touch screen display;recognizing a gesture made by the one or more fingers on the touchscreen display, wherein the gesture is one gesture in a plurality ofpredefined gestures operable to select or assist in selecting a portionof the content; and performing an action with respect to the content inresponse to recognizing the gesture.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display contenton the touch screen display; detect one or more fingers on the touchscreen display; recognize a gesture made by the one or more fingers onthe touch screen display, wherein the gesture is one gesture in aplurality of predefined gestures operable to select or assist inselecting a portion of the content; and perform an action with respectto the content in response to recognizing the gesture.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying content on the touch screendisplay; means for detecting one or more fingers on the touch screendisplay; means for recognizing a gesture made by the one or more fingerson the touch screen display, wherein the gesture is one gesture in aplurality of predefined gestures operable to select or assist inselecting a portion of the content; and means for performing an actionwith respect to the content in response to recognizing the gesture.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying content on the touchscreen display, wherein the displayed content includes selected content;visually distinguishing the selected content from displayed content thatis not selected; displaying a command display area adjacent to theselected content on the touch screen display, wherein the commanddisplay area includes one or more command icons; detecting activation ofa command icon in the command display area; and, in response todetecting activation of the command icon in the command display area,performing a corresponding action with respect to the selected content.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes content, including selected content that is visuallydistinguished from displayed content that is not selected, and a commanddisplay area that includes one or more command icons; wherein: thecommand display area is displayed adjacent to the selected content onthe touch screen display; and, in response to detecting activation of acommand icon in the command display area, a corresponding action isperformed with respect to the selected content.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying content on the touch screendisplay, wherein the displayed content includes selected content;visually distinguishing the selected content from displayed content thatis not selected; displaying a command display arca adjacent to theselected content on the touch screen display, wherein the commanddisplay area includes one or more command icons; detecting activation ofa command icon in the command display area; and, in response todetecting activation of the command icon in the command display area,performing a corresponding action with respect to the selected content.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display contenton the touch screen display, wherein the displayed content includesselected content; visually distinguish the selected content fromdisplayed content that is not selected; display a command display areaadjacent to the selected content on the touch screen display, whereinthe command display area includes one or more command icons; detectactivation of a command icon in the command display area; and, inresponse to detecting activation of the command icon in the commanddisplay area, perform a corresponding action with respect to theselected content.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying content on the touch screendisplay, wherein the displayed content includes selected content; meansfor visually distinguishing the selected content from displayed contentthat is not selected; means for displaying a command display areaadjacent to the selected content on the touch screen display, whereinthe command display area includes one or more command icons; means fordetecting activation of a command icon in the command display area; and,in response to detecting activation of the command icon in the commanddisplay area, means for performing a corresponding action with respectto the selected content.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying a user interfaceelement that contains content, wherein the content includes selectedcontent; visually distinguishing the selected content from displayedcontent that is not selected; displaying a command display area elementthat includes one or more command icons, wherein: the command displayarea element is displayed in front of other elements in the userinterface, including the user interface element displaying content; andactivation of a command icon initiates performance of a correspondingaction with respect to the selected content; and displaying one or morepredefined priority elements in front of which the command display areaelement cannot be displayed.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes a user interface element that contains content, wherein thecontent includes selected content, a command display area element thatincludes one or more command icons, and one or more predefined priorityelements in front of which the command display area element cannot bedisplayed; wherein: the selected content is visually distinguished fromdisplayed content that is not selected; the command display area elementis displayed in front of other elements in the user interface, includingthe user interface element displaying content; and activation of acommand icon initiates performance of a corresponding action withrespect to the selected content.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying a user interface elementthat contains content, wherein the content includes selected content;visually distinguishing the selected content from displayed content thatis not selected; displaying a command display area element that includesone or more command icons, wherein: the command display area element isdisplayed in front of other elements in the user interface, includingthe user interface element displaying content; and activation of acommand icon initiates performance of a corresponding action withrespect to the selected content; and displaying one or more predefinedpriority elements in front of which the command display area elementcannot be displayed.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display a userinterface element that contains content, wherein the content includesselected content; visually distinguish the selected content fromdisplayed content that is not selected; display a command display areaelement that includes one or more command icons, wherein: the commanddisplay area element is displayed in front of other elements in the userinterface, including the user interface element displaying content; andactivation of a command icon initiates performance of a correspondingaction with respect to the selected content; and display one or morepredefined priority elements in front of which the command display areaelement cannot be displayed.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying a user interface element thatcontains content, wherein the content includes selected content; meansfor visually distinguishing the selected content from displayed contentthat is not selected; means for displaying a command display areaelement that includes one or more command icons, wherein: the commanddisplay area element is displayed in front of other elements in the userinterface, including the user interface element displaying content; andactivation of a command icon initiates performance of a correspondingaction with respect to the selected content; and means for displayingone or more predefined priority elements in front of which the commanddisplay area element cannot be displayed.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying content on the touchscreen display at a first magnification, wherein the content includesselected content; detecting a finger contact on a respective end of theselected content; displaying a content magnifier adjacent to therespective end of the selected content, wherein the content magnifierdisplays: an expanded portion of the content proximate to the respectiveend of the selected content at a second magnification that is greaterthan the first magnification, and a boundary marker that denotes acurrent position of the respective end of the selected content;detecting movement of the finger contact across the touch screendisplay; updating the respective end of the selected content and thedisplayed expanded portion of the content proximate to the respectiveend at the second magnification in accordance with the movement of thefinger contact; and moving the content magnifier and the boundary markerin accordance with the movement of the finger contact.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes content at a first magnification, the content includingselected content, and a content magnifier; wherein: a finger contact isdetected on a respective end of the selected content; the contentmagnifier is displayed adjacent to the respective end of the selectedcontent; the content magnifier displays: an expanded portion of thecontent proximate to the respective end of the selected content at asecond magnification that is greater than the first magnification, and aboundary marker that denotes a current position of the respective end ofthe selected content; the respective end of the selected content and thedisplayed expanded portion of the content proximate to the respectiveend at the second magnification are updated in accordance with movementof the finger contact across the touch screen display; and the contentmagnifier and the boundary marker are moved in accordance with themovement of the finger contact.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying content on the touch screendisplay at a first magnification, wherein the content includes selectedcontent; detecting a finger contact on a respective end of the selectedcontent; displaying a content magnifier adjacent to the respective endof the selected content, wherein the content magnifier displays: anexpanded portion of the content proximate to the respective end of theselected content at a second magnification that is greater than thefirst magnification, and a boundary marker that denotes a currentposition of the respective end of the selected content; detectingmovement of the finger contact across the touch screen display; updatingthe respective end of the selected content and the displayed expandedportion of the content proximate to the respective end at the secondmagnification in accordance with the movement of the finger contact; andmoving the content magnifier and the boundary marker in accordance withthe movement of the finger contact.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display contenton the touch screen display at a first magnification, wherein thecontent includes selected content; detect a finger contact on arespective end of the selected content; display a content magnifieradjacent to the respective end of the selected content, wherein thecontent magnifier displays: an expanded portion of the content proximateto the respective end of the selected content at a second magnificationthat is greater than the first magnification, and a boundary marker thatdenotes a current position of the respective end of the selectedcontent; detect movement of the finger contact across the touch screendisplay; update the respective end of the selected content and thedisplayed expanded portion of the content proximate to the respectiveend at the second magnification in accordance with the movement of thefinger contact; and move the content magnifier and the boundary markerin accordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying content on the touch screendisplay at a first magnification, wherein the content includes selectedcontent; means for detecting a finger contact on a respective end of theselected content; means for displaying a content magnifier adjacent tothe respective end of the selected content, wherein the contentmagnifier displays: an expanded portion of the content proximate to therespective end of the selected content at a second magnification that isgreater than the first magnification, and a boundary marker that denotesa current position of the respective end of the selected content; meansfor detecting movement of the finger contact across the touch screendisplay; means for updating the respective end of the selected contentand the displayed expanded portion of the content proximate to therespective end at the second magnification in accordance with themovement of the finger contact; and means for moving the contentmagnifier and the boundary marker in accordance with the movement of thefinger contact.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; detecting a finger gesture on a first box of content in theplurality of boxes of content; in response to detecting the fingergesture on the first box of content in the plurality of boxes ofcontent: selecting the first box of content; and visually distinguishingthe selected first box of content from content on the touch screendisplay that is not selected; detecting a finger contact on the selectedfirst box of content; detecting movement of the finger contact to alocation outside the selected first box of content; detecting lift offof the finger contact at the location outside the selected first box ofcontent; and selecting one or more additional boxes of content in theplurality of boxes of content in accordance with the location of thefinger contact outside the first box of content.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes at least a portion of a structured electronic document, thestructured electronic document including a plurality of boxes ofcontent; wherein: in response to detecting a finger gesture on a firstbox of content in the plurality of boxes of content: the first box ofcontent is selected; and the selected first box of content is visuallydistinguished from content on the touch screen display that is notselected; a finger contact is detected on the selected first box ofcontent; movement of the finger contact to a location outside theselected first box of content is detected; lift off of the fingercontact at the location outside the selected first box of content isdetected; and one or more additional boxes of content in the pluralityof boxes of content are selected in accordance with the location of thefinger contact outside the first box of content.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; detecting a finger gesture on a first box of content in theplurality of boxes of content; in response to detecting the fingergesture on the first box of content in the plurality of boxes ofcontent: selecting the first box of content; and visually distinguishingthe selected first box of content from content on the touch screendisplay that is not selected; detecting a finger contact on the selectedfirst box of content; detecting movement of the finger contact to alocation outside the selected first box of content; detecting lift offof the finger contact at the location outside the selected first box ofcontent; and selecting one or more additional boxes of content in theplurality of boxes of content in accordance with the location of thefinger contact outside the first box of content.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display atleast a portion of a structured electronic document on the touch screendisplay, wherein the structured electronic document comprises aplurality of boxes of content; detect a finger gesture on a first box ofcontent in the plurality of boxes of content; in response to detectingthe finger gesture on the first box of content in the plurality of boxesof content: select the first box of content; and visually distinguishthe selected first box of content from content on the touch screendisplay that is not selected; detect a finger contact on the selectedfirst box of content; detect movement of the finger contact to alocation outside the selected first box of content; detect lift off ofthe finger contact at the location outside the selected first box ofcontent; and select one or more additional boxes of content in theplurality of boxes of content in accordance with the location of thefinger contact outside the first box of content.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; means for detecting a finger gesture on a first box of contentin the plurality of boxes of content; in response to detecting thefinger gesture on the first box of content in the plurality of boxes ofcontent: means for selecting the first box of content; and means forvisually distinguishing the selected first box of content from contenton the touch screen display that is not selected; means for detecting afinger contact on the selected first box of content; means for detectingmovement of the finger contact to a location outside the selected firstbox of content; means for detecting lift off of the finger contact atthe location outside the selected first box of content; and means forselecting one or more additional boxes of content in the plurality ofboxes of content in accordance with the location of the finger contactoutside the first box of content.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying at least a portion of astructured electronic document on the touch screen display at a firstmagnification, wherein the structured electronic document comprises aplurality of boxes of content; detecting a first finger gesture on afirst box of content in the plurality of boxes of content; in responseto detecting the first finger gesture on the first box of content in theplurality of boxes of content: selecting the first box of content; andvisually distinguishing the selected first box of content from contenton the touch screen display that is not selected; detecting a fingercontact on a respective end of the selected first box of content;displaying a content magnifier adjacent to the respective end of theselected first box of content, wherein the content magnifier displays:an expanded portion of the content proximate to the respective end ofthe selected first box of content at a second magnification that isgreater than the first magnification, and a boundary marker that denotesa current position of the respective end of the selected first box ofcontent; detecting movement of the finger contact across the touchscreen display within the selected first box of content; updating therespective end of the selected first box of content and the displayedexpanded portion of the content proximate to the respective end at thesecond magnification in accordance with the movement of the fingercontact; and moving the content magnifier and the boundary marker inaccordance with the movement of the finger contact.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes at least a portion of a structured electronic document at afirst magnification, the structured electronic document comprising aplurality of boxes of content, and a content magnifier; wherein: inresponse to detecting a first finger gesture on a first box of contentin the plurality of boxes of content: the first box of content isselected; and the selected first box of content is visuallydistinguished from content on the touch screen display that is notselected; a finger contact is detected on a respective end of theselected first box of content; the content magnifier is displayedadjacent to the respective end of the selected first box of content; thecontent magnifier displays: an expanded portion of the content proximateto the respective end of the selected first box of content at a secondmagnification that is greater than the first magnification, and aboundary marker that denotes a current position of the respective end ofthe selected first box of content; movement of the finger contact acrossthe touch screen display within the selected first box of content isdetected; the respective end of the selected first box of content andthe displayed expanded portion of the content proximate to therespective end at the second magnification are updated in accordancewith the movement of the finger contact; and the content magnifier andthe boundary marker are moved in accordance with the movement of thefinger contact.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying at least a portion of astructured electronic document on the touch screen display at a firstmagnification, wherein the structured electronic document comprises aplurality of boxes of content; detecting a first finger gesture on afirst box of content in the plurality of boxes of content; in responseto detecting the first finger gesture on the first box of content in theplurality of boxes of content: selecting the first box of content; andvisually distinguishing the selected first box of content from contenton the touch screen display that is not selected; detecting a fingercontact on a respective end of the selected first box of content;displaying a content magnifier adjacent to the respective end of theselected first box of content, wherein the content magnifier displays:an expanded portion of the content proximate to the respective end ofthe selected first box of content at a second magnification that isgreater than the first magnification, and a boundary marker that denotesa current position of the respective end of the selected first box ofcontent; detecting movement of the finger contact across the touchscreen display within the selected first box of content; updating therespective end of the selected first box of content and the displayedexpanded portion of the content proximate to the respective end at thesecond magnification in accordance with the movement of the fingercontact; and moving the content magnifier and the boundary marker inaccordance with the movement of the finger contact.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display atleast a portion of a structured electronic document on the touch screendisplay at a first magnification, wherein the structured electronicdocument comprises a plurality of boxes of content; detect a firstfinger gesture on a first box of content in the plurality of boxes ofcontent; in response to detecting the first finger gesture on the firstbox of content in the plurality of boxes of content: select the firstbox of content; and visually distinguish the selected first box ofcontent from content on the touch screen display that is not selected;detect a finger contact on a respective end of the selected first box ofcontent; display a content magnifier adjacent to the respective end ofthe selected first box of content, wherein the content magnifierdisplays: an expanded portion of the content proximate to the respectiveend of the selected first box of content at a second magnification thatis greater than the first magnification, and a boundary marker thatdenotes a current position of the respective end of the selected firstbox of content; detect movement of the finger contact across the touchscreen display within the selected first box of content; update therespective end of the selected first box of content and the displayedexpanded portion of the content proximate to the respective end at thesecond magnification in accordance with the movement of the fingercontact; and move the content magnifier and the boundary marker inaccordance with the movement of the finger contact.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying at least a portion of astructured electronic document on the touch screen display at a firstmagnification, wherein the structured electronic document comprises aplurality of boxes of content; means for detecting a first fingergesture on a first box of content in the plurality of boxes of content;in response to detecting the first finger gesture on the first box ofcontent in the plurality of boxes of content: means for selecting thefirst box of content; and means for visually distinguishing the selectedfirst box of content from content on the touch screen display that isnot selected; means for detecting a finger contact on a respective endof the selected first box of content; means for displaying a contentmagnifier adjacent to the respective end of the selected first box ofcontent, wherein the content magnifier displays: an expanded portion ofthe content proximate to the respective end of the selected first box ofcontent at a second magnification that is greater than the firstmagnification, and a boundary marker that denotes a current position ofthe respective end of the selected first box of content; means fordetecting movement of the finger contact across the touch screen displaywithin the selected first box of content; means for updating therespective end of the selected first box of content and the displayedexpanded portion of the content proximate to the respective end at thesecond magnification in accordance with the movement of the fingercontact; and means for moving the content magnifier and the boundarymarker in accordance with the movement of the finger contact.

In accordance with some embodiments, a computer-implemented method isperformed at a multifunction device with a touch screen display. Thecomputer-implemented method includes: displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; determining whether the structured electronic document meetsone or more predefined document complexity criteria; selecting one ormore entire boxes of content in response to one or more finger gestureswhen the structured electronic document meets at least one predefineddocument complexity criteria; and selecting a gesture-specified portionof at least one box of content when the structured electronic documentdoes not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a graphical user interface on amultifunction device with a touch screen display, a memory, and one ormore processors to execute one or more programs stored in the memoryincludes at least a portion of a structured electronic document, thestructured electronic document comprising a plurality of boxes ofcontent; wherein: whether the structured electronic document meets oneor more predefined document complexity criteria is determined; one ormore entire boxes of content are selected in response to one or morefinger gestures when the structured electronic document meets at leastone predefined document complexity criteria; and a gesture-specifiedportion of at least one box of content is selected when the structuredelectronic document does not meet at least one predefined documentcomplexity criteria.

In accordance with some embodiments, a multifunction device includes atouch screen display, one or more processors, memory, and one or moreprograms. The one or more programs are stored in the memory andconfigured to be executed by the one or more processors. The one or moreprograms include instructions for displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; determining whether the structured electronic document meetsone or more predefined document complexity criteria; selecting one ormore entire boxes of content in response to one or more finger gestureswhen the structured electronic document meets at least one predefineddocument complexity criteria; and selecting a gesture-specified portionof at least one box of content when the structured electronic documentdoes not meet at least one predefined document complexity criteria.

In accordance with some embodiments, a computer readable storage mediumhas stored therein instructions which when executed by a multifunctiondevice with a touch screen display, cause the device to: display atleast a portion of a structured electronic document on the touch screendisplay, wherein the structured electronic document comprises aplurality of boxes of content; determine whether the structuredelectronic document meets one or more predefined document complexitycriteria; select one or more entire boxes of content in response to oneor more finger gestures when the structured electronic document meets atleast one predefined document complexity criteria; and select agesture-specified portion of at least one box of content when thestructured electronic document does not meet at least one predefineddocument complexity criteria.

In accordance with some embodiments, a multifunction device includes: atouch screen display; means for displaying at least a portion of astructured electronic document on the touch screen display, wherein thestructured electronic document comprises a plurality of boxes ofcontent; means for determining whether the structured electronicdocument meets one or more predefined document complexity criteria;means for selecting one or more entire boxes of content in response toone or more finger gestures when the structured electronic documentmeets at least one predefined document complexity criteria; and meansfor selecting a gesture-specified portion of at least one box of contentwhen the structured electronic document does not meet at least onepredefined document complexity criteria.

Thus, multifunction devices with touch screen displays are provided withfaster, more efficient methods and interfaces for editing content,thereby increasing the effectiveness, efficiency, and user satisfactionwith such devices.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the aforementioned embodiments of theinvention as well as additional embodiments thereof, reference should bemade to the Description of Embodiments below, in conjunction with thefollowing drawings in which like reference numerals refer tocorresponding parts throughout the figures.

FIGS. 1A and 1B are block diagrams illustrating portable multifunctiondevices with touch-sensitive displays in accordance with someembodiments.

FIG. 2 illustrates a portable multifunction device having a touch screenin accordance with some embodiments.

FIG. 3 is a block diagram of an exemplary multifunction device inaccordance with some embodiments.

FIGS. 4A and 4B illustrate exemplary user interfaces for a menu ofapplications on a portable multifunction device in accordance with someembodiments.

FIGS. 5A-5QQ illustrate exemplary user interfaces for selecting contenton a multifunction device with a touch screen display in accordance withsome embodiments.

FIGS. 6A-6UU illustrate exemplary user interfaces for a command displayarea for selected content in accordance with some embodiments.

FIGS. 7A-7E illustrate exemplary user interfaces for using a contentmagnifier to select a respective end of selected content in accordancewith some embodiments.

FIGS. 8A-8U illustrate exemplary user interfaces for selecting contentin structured electronic documents in accordance with some embodiments.

FIGS. 9A-9D are flow diagrams illustrating a method of selectingeditable content in accordance with some embodiments.

FIGS. 10A-10D are flow diagrams illustrating a method of selectingread-only content in accordance with some embodiments.

FIGS. 11A-11C are flow diagrams illustrating a method of selectingcontent in accordance with some embodiments.

FIG. 12 is a flow diagram illustrating a method of selecting a word witha double-tap gesture by a single finger in accordance with someembodiments.

FIGS. 13A-13G are flow diagrams illustrating a method of selectingcontent with finger gestures in accordance with some embodiments.

FIGS. 14A-14D are flow diagrams illustrating a method of using a commanddisplay area for selected content in accordance with some embodiments.

FIGS. 15A-15C are flow diagrams illustrating a method of positioning acommand display area in accordance with some embodiments.

FIGS. 16A-16E are flow diagrams illustrating a method of updating arespective end of selected content with a content magnifier inaccordance with some embodiments.

FIGS. 17A-17B are flow diagrams illustrating a method of selectingcontent in structured electronic documents in accordance with someembodiments.

FIG. 18 is a flow diagram illustrating a method of selecting content instructured electronic documents in accordance with some embodiments.

FIG. 19 is a flow diagram illustrating a method of selecting content instructured electronic documents based on document complexity criteria inaccordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

Reference will now be made in detail to embodiments, examples of whichare illustrated in the accompanying drawings. In the following detaileddescription, numerous specific details are set forth in order to providea thorough understanding of the present invention. However, it will beapparent to one of ordinary skill in the art that the present inventionmay be practiced without these specific details. In other instances,well-known methods, procedures, components, circuits, and networks havenot been described in detail so as not to unnecessarily obscure aspectsof the embodiments.

It will also be understood that, although the terms first, second, etc.may be used herein to describe various elements, these elements shouldnot be limited by these terms. These terms are only used to distinguishone element from another. For example, a first contact could be termed asecond contact, and, similarly, a second contact could be termed a firstcontact, without departing from the scope of the present invention. Thefirst contact and the second contact are both contacts, but they are notthe same contact.

The terminology used in the description of the invention herein is forthe purpose of describing particular embodiments only and is notintended to be limiting of the invention. As used in the description ofthe invention and the appended claims, the singular forms “a”, “an” and“the” are intended to include the plural forms as well, unless thecontext clearly indicates otherwise. It will also be understood that theterm “and/or” as used herein refers to and encompasses any and allpossible combinations of one or more of the associated listed items. Itwill be further understood that the terms “comprises” and/or“comprising,” when used in this specification, specify the presence ofstated features, integers, steps, operations, elements, and/orcomponents, but do not preclude the presence or addition of one or moreother features, integers, steps, operations, elements, components,and/or groups thereof.

As used herein, the term “if” may be construed to mean “when” or “upon”or “in response to determining” or “in response to detecting,” dependingon the context. Similarly, the phrase “if it is determined” or “if [astated condition or event] is detected” may be construed to mean “upondetermining” or “in response to determining” or “upon detecting [thestated condition or event]” or “in response to detecting [the statedcondition or event],” depending on the context.

Embodiments of computing devices, user interfaces for such devices, andassociated processes for using such devices are described. In someembodiments, the computing device is a portable communications devicesuch as a mobile telephone that also contains other functions, such asPDA and/or music player functions. Exemplary embodiments of portablemultifunction devices include, without limitation, the iPhone® and iPodTouch® devices from Apple Computer, Inc. of Cupertino, Calif.

In the discussion that follows, a computing device that includes adisplay and a touch-sensitive surface is described. It should beunderstood, however, that the computing device may include one or moreother physical user-interface devices, such as a physical keyboard, amouse and/or a joystick.

The device supports a variety of applications, such as one or more ofthe following: a drawing application, a presentation application, a wordprocessing application, a website creation application, a disk authoringapplication, a spreadsheet application, a gaming application, atelephone application, a video conferencing application, an e-mailapplication, an instant messaging application, a workout supportapplication, a photo management application, a digital cameraapplication, a digital video camera application, a web browsingapplication, a digital music player application, and/or a digital videoplayer application.

The various applications that may be executed on the device may use atleast one common physical user-interface device, such as thetouch-sensitive surface. One or more functions of the touch-sensitivesurface as well as corresponding information displayed on the device maybe adjusted and/or varied from one application to the next and/or withina respective application. In this way, a common physical architecture(such as the touch-sensitive surface) of the device may support thevariety of applications with user interfaces that are intuitive andtransparent.

The user interfaces may include one or more soft keyboard embodiments.The soft keyboard embodiments may include standard (QWERTY) and/ornon-standard configurations of symbols on the displayed icons of thekeyboard, such as those described in U.S. patent application Ser. No.11/459,606, “Keyboards For Portable Electronic Devices,” filed Jul. 24,2006, and Ser. No. 11/459,615, “Touch Screen Keyboards For PortableElectronic Devices,” filed Jul. 24, 2006, the contents of which arehereby incorporated by reference in their entirety. The keyboardembodiments may include a reduced number of icons (or soft keys)relative to the number of keys in existing physical keyboards, such asthat for a typewriter. This may make it easier for users to select oneor more icons in the keyboard, and thus, one or more correspondingsymbols. The keyboard embodiments may be adaptive. For example,displayed icons may be modified in accordance with user actions, such asselecting one or more icons and/or one or more corresponding symbols.One or more applications on the device may utilize common and/ordifferent keyboard embodiments. Thus, the keyboard embodiment used maybe tailored to at least some of the applications. In some embodiments,one or more keyboard embodiments may be tailored to a respective user.For example, one or more keyboard embodiments may be tailored to arespective user based on a word usage history (lexicography, slang,individual usage) of the respective user. Some of the keyboardembodiments may be adjusted to reduce a probability of a user error whenselecting one or more icons, and thus one or more symbols, when usingthe soft keyboard embodiments.

Attention is now directed towards embodiments of portable devices withtouch-sensitive displays. FIGS. 1A and 1B are block diagramsillustrating portable multifunction devices 100 with touch-sensitivedisplays 112 in accordance with some embodiments. The touch-sensitivedisplay 112 is sometimes called a “touch screen” for convenience, andmay also be known as or called a touch-sensitive display system. Thedevice 100 may include a memory 102 (which may include one or morecomputer readable storage mediums), a memory controller 122, one or moreprocessing units (CPU's) 120, a peripherals interface 118, RF circuitry108, audio circuitry 110, a speaker 111, a microphone 113, aninput/output (I/O) subsystem 106, other input or control devices 116,and an external port 124. The device 100 may include one or more opticalsensors 164. These components may communicate over one or morecommunication buses or signal lines 103.

It should be appreciated that the device 100 is only one example of aportable multifunction device 100, and that the device 100 may have moreor fewer components than shown, may combine two or more components, or amay have a different configuration or arrangement of the components. Thevarious components shown in FIGS. 1A and 1B may be implemented inhardware, software, or a combination of both hardware and software,including one or more signal processing and/or application specificintegrated circuits.

Memory 102 may include high-speed random access memory and may alsoinclude non-volatile memory, such as one or more magnetic disk storagedevices, flash memory devices, or other non-volatile solid-state memorydevices. Access to memory 102 by other components of the device 100,such as the CPU 120 and the peripherals interface 118, may be controlledby the memory controller 122.

The peripherals interface 118 couples the input and output peripheralsof the device to the CPU 120 and memory 102. The one or more processors120 run or execute various software programs and/or sets of instructionsstored in memory 102 to perform various functions for the device 100 andto process data.

In some embodiments, the peripherals interface 118, the CPU 120, and thememory controller 122 may be implemented on a single chip, such as achip 104. In some other embodiments, they may be implemented on separatechips.

The RF (radio frequency) circuitry 108 receives and sends RF signals,also called electromagnetic signals. The RF circuitry 108 convertselectrical signals to/from electromagnetic signals and communicates withcommunications networks and other communications devices via theelectromagnetic signals. The RF circuitry 108 may include well-knowncircuitry for performing these functions, including but not limited toan antenna system, an RF transceiver, one or more amplifiers, a tuner,one or more oscillators, a digital signal processor, a CODEC chipset, asubscriber identity module (SIM) card, memory, and so forth. The RFcircuitry 108 may communicate with networks, such as the Internet, alsoreferred to as the World Wide Web (WWW), an intranet and/or a wirelessnetwork, such as a cellular telephone network, a wireless local areanetwork (LAN) and/or a metropolitan area network (MAN), and otherdevices by wireless communication. The wireless communication may useany of a plurality of communications standards, protocols andtechnologies, including but not limited to Global System for MobileCommunications (GSM), Enhanced Data GSM Environment (EDGE), high-speeddownlink packet access (HSDPA), wideband code division multiple access(W-CDMA), code division multiple access (CDMA), time division multipleaccess (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a,IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over InternetProtocol (VoIP), Wi-MAX, a protocol for email (e.g., Internet messageaccess protocol (IMAP) and/or post office protocol (POP)), instantmessaging (e.g., extensible messaging and presence protocol (XMPP),Session Initiation Protocol for Instant Messaging and PresenceLeveraging Extensions (SIMPLE), Instant Messaging and Presence Service(IMPS)), and/or Short Message Service (SMS)), or any other suitablecommunication protocol, including communication protocols not yetdeveloped as of the filing date of this document.

The audio circuitry 110, the speaker 111, and the microphone 113 providean audio interface between a user and the device 100. The audiocircuitry 110 receives audio data from the peripherals interface 118,converts the audio data to an electrical signal, and transmits theelectrical signal to the speaker 111. The speaker 111 converts theelectrical signal to human-audible sound waves. The audio circuitry 110also receives electrical signals converted by the microphone 113 fromsound waves. The audio circuitry 110 converts the electrical signal toaudio data and transmits the audio data to the peripherals interface 118for processing. Audio data may be retrieved from and/or transmitted tomemory 102 and/or the RF circuitry 108 by the peripherals interface 118.In some embodiments, the audio circuitry 110 also includes a headsetjack (e.g. 212, FIG. 2). The headset jack provides an interface betweenthe audio circuitry 110 and removable audio input/output peripherals,such as output-only headphones or a headset with both output (e.g., aheadphone for one or both ears) and input (e.g., a microphone).

The I/O subsystem 106 couples input/output peripherals on the device100, such as the touch screen 112 and other input/control devices 116,to the peripherals interface 118. The I/O subsystem 106 may include adisplay controller 156 and one or more input controllers 160 for otherinput or control devices. The one or more input controllers 160receive/send electrical signals from/to other input or control devices116. The other input/control devices 116 may include physical buttons(e.g., push buttons, rocker buttons, etc.), dials, slider switches,joysticks, click wheels, and so forth. In some alternate embodiments,input controller(s) 160 may be coupled to any (or none) of thefollowing: a keyboard, infrared port, USB port, and a pointer devicesuch as a mouse. The one or more buttons (e.g., 208, FIG. 2) may includean up/down button for volume control of the speaker 111 and/or themicrophone 113. The one or more buttons may include a push button (e.g.,206, FIG. 2). A quick press of the push button may disengage a lock ofthe touch screen 112 or begin a process that uses gestures on the touchscreen to unlock the device, as described in U.S. patent applicationSer. No. 11/322,549, “Unlocking a Device by Performing Gestures on anUnlock Image,” filed Dec. 23, 2005, which is hereby incorporated byreference in its entirety. A longer press of the push button (e.g., 206)may turn power to the device 100 on or off. The user may be able tocustomize a functionality of one or more of the buttons. The touchscreen 112 is used to implement virtual or soft buttons and one or moresoft keyboards.

The touch-sensitive touch screen 112 provides an input interface and anoutput interface between the device and a user. The display controller156 receives and/or sends electrical signals from/to the touch screen112. The touch screen 112 displays visual output to the user. The visualoutput may include graphics, text, icons, video, and any combinationthereof (collectively termed “graphics”). In some embodiments, some orall of the visual output may correspond to user-interface objects.

A touch screen 112 has a touch-sensitive surface, sensor or set ofsensors that accepts input from the user based on haptic and/or tactilecontact. The touch screen 112 and the display controller 156 (along withany associated modules and/or sets of instructions in memory 102) detectcontact (and any movement or breaking of the contact) on the touchscreen 112 and converts the detected contact into interaction withuser-interface objects (e.g., one or more soft keys, icons, web pages orimages) that are displayed on the touch screen. In an exemplaryembodiment, a point of contact between a touch screen 112 and the usercorresponds to a finger of the user.

The touch screen 112 may use LCD (liquid crystal display) technology, orLPD (light emitting polymer display) technology, although other displaytechnologies may be used in other embodiments. The touch screen 112 andthe display controller 156 may detect contact and any movement orbreaking thereof using any of a plurality of touch sensing technologiesnow known or later developed, including but not limited to capacitive,resistive, infrared, and surface acoustic wave technologies, as well asother proximity sensor arrays or other elements for determining one ormore points of contact with a touch screen 112. In an exemplaryembodiment, projected mutual capacitance sensing technology is used,such as that found in the iPhone® and iPod Touch® from Apple Computer,Inc. of Cupertino, Calif.

A touch-sensitive display in some embodiments of the touch screen 112may be analogous to the multi-touch sensitive tablets described in thefollowing U.S. Pat. No. 6,323,846 (Westerman et al.), U.S. Pat. No.6,570,557 (Westerman et al.), and/or U.S. Pat. No. 6,677,932(Westerman), and/or U.S. Patent Publication 2002/0015024A1, each ofwhich is hereby incorporated by reference in its entirety. However, atouch screen 112 displays visual output from the portable device 100,whereas touch sensitive tablets do not provide visual output.

A touch-sensitive display in some embodiments of the touch screen 112may be as described in the following applications: (1) U.S. patentapplication Ser. No. 11/381,313, “Multipoint Touch Surface Controller,”filed May 2, 2006; (2) U.S. patent application Ser. No. 10/840,862,“Multipoint Touchscreen,” filed May 6, 2004; (3) U.S. patent applicationSer. No. 10/903,964, “Gestures For Touch Sensitive Input Devices,” filedJul. 30, 2004; (4) U.S. patent application Ser. No. 11/048,264,“Gestures For Touch Sensitive Input Devices,” filed Jan. 31, 2005; (5)U.S. patent application Ser. No. 11/038,590, “Mode-Based Graphical UserInterfaces For Touch Sensitive Input Devices,” filed Jan. 18, 2005; (6)U.S. patent application Ser. No. 11/228,758, “Virtual Input DevicePlacement On A Touch Screen User Interface,” filed Sep. 16, 2005; (7)U.S. patent application Ser. No. 11/228,700, “Operation Of A ComputerWith A Touch Screen Interface,” filed Sep. 16, 2005; (8) U.S. patentapplication Ser. No. 11/228,737, “Activating Virtual Keys Of ATouch-Screen Virtual Keyboard,” filed Sep. 16, 2005; and (9) U.S. patentapplication Ser. No. 11/367,749, “Multi-Functional Hand-Held Device,”filed Mar. 3, 2006. All of these applications are incorporated byreference herein in their entirety.

The touch screen 112 may have a resolution in excess of 100 dpi. In anexemplary embodiment, the touch screen has a resolution of approximately160 dpi. The user may make contact with the touch screen 112 using anysuitable object or appendage, such as a stylus, a finger, and so forth.In some embodiments, the user interface is designed to work primarilywith finger-based contacts and gestures, which are much less precisethan stylus-based input due to the larger area of contact of a finger onthe touch screen. In some embodiments, the device translates the roughfinger-based input into a precise pointer/cursor position or command forperforming the actions desired by the user.

In some embodiments, in addition to the touch screen, the device 100 mayinclude a touchpad (not shown) for activating or deactivating particularfunctions. In some embodiments, the touchpad is a touch-sensitive areaof the device that, unlike the touch screen, does not display visualoutput. The touchpad may be a touch-sensitive surface that is separatefrom the touch screen 112 or an extension of the touch-sensitive surfaceformed by the touch screen.

In some embodiments, the device 100 may include a physical or virtualclick wheel as an input control device 116. A user may navigate amongand interact with one or more graphical objects (e.g., icons) displayedin the touch screen 112 by rotating the click wheel or by moving a pointof contact with the click wheel (e.g., where the amount of movement ofthe point of contact is measured by its angular displacement withrespect to a center point of the click wheel). The click wheel may alsobe used to select one or more of the displayed icons. For example, theuser may press down on at least a portion of the click wheel or anassociated button. User commands and navigation commands provided by theuser via the click wheel may be processed by an input controller 160 aswell as one or more of the modules and/or sets of instructions in memory102. For a virtual click wheel, the click wheel and click wheelcontroller may be part of the touch screen 112 and the displaycontroller 156, respectively. For a virtual click wheel, the click wheelmay be either an opaque or semitransparent object that appears anddisappears on the touch screen display in response to user interactionwith the device. In some embodiments, a virtual click wheel is displayedon the touch screen of a portable multifunction device and operated byuser contact with the touch screen.

The device 100 also includes a power system 162 for powering the variouscomponents. The power system 162 may include a power management system,one or more power sources (e.g., battery, alternating current (AC)), arecharging system, a power failure detection circuit, a power converteror inverter, a power status indicator (e.g., a light-emitting diode(LED)) and any other components associated with the generation,management and distribution of power in portable devices.

The device 100 may also include one or more optical sensors 164. FIGS.1A and 1B show an optical sensor coupled to an optical sensor controller158 in I/O subsystem 106. The optical sensor 164 may includecharge-coupled device (CCD) or complementary metal-oxide semiconductor(CMOS) phototransistors. The optical sensor 164 receives light from theenvironment, projected through one or more lens, and converts the lightto data representing an image. In conjunction with an imaging module 143(also called a camera module), the optical sensor 164 may capture stillimages or video. In some embodiments, an optical sensor is located onthe back of the device 100, opposite the touch screen display 112 on thefront of the device, so that the touch screen display may be used as aviewfinder for still and/or video image acquisition. In someembodiments, an optical sensor is located on the front of the device sothat the user's image may be obtained for videoconferencing while theuser views the other video conference participants on the touch screendisplay. In some embodiments, the position of the optical sensor 164 canbe changed by the user (e.g., by rotating the lens and the sensor in thedevice housing) so that a single optical sensor 164 may be used alongwith the touch screen display for both video conferencing and stilland/or video image acquisition.

The device 100 may also include one or more proximity sensors 166. FIGS.1A and 1B show a proximity sensor 166 coupled to the peripheralsinterface 118. Alternately, the proximity sensor 166 may be coupled toan input controller 160 in the I/O subsystem 106. The proximity sensor166 may perform as described in U.S. patent application Ser. No.11/241,839, “Proximity Detector In Handheld Device”; Ser. No.11/240,788, “Proximity Detector In Handheld Device”; Ser. No.11/620,702, “Using Ambient Light Sensor To Augment Proximity SensorOutput”; Ser. No. 11/586,862, “Automated Response To And Sensing Of UserActivity In Portable Devices”; and Ser. No. 11/638,251, “Methods AndSystems For Automatic Configuration Of Peripherals,” which are herebyincorporated by reference in their entirety. In some embodiments, theproximity sensor turns off and disables the touch screen 112 when themultifunction device is placed near the user's ear (e.g., when the useris making a phone call). In some embodiments, the proximity sensor keepsthe screen off when the device is in the user's pocket, purse, or otherdark area to prevent unnecessary battery drainage when the device is alocked state.

The device 100 may also include one or more accelerometers 168. FIGS. 1Aand 1B show an accelerometer 168 coupled to the peripherals interface118. Alternately, the accelerometer 168 may be coupled to an inputcontroller 160 in the I/O subsystem 106. The accelerometer 168 mayperform as described in U.S. Patent Publication No. 20050190059,“Acceleration-based Theft Detection System for Portable ElectronicDevices,” and U.S. Patent Publication No. 20060017692, “Methods andApparatuses For Operating A Portable Device Based On An Accelerometer,”both of which are incorporated by reference herein in their entirety. Insome embodiments, information is displayed on the touch screen displayin a portrait view or a landscape view based on an analysis of datareceived from the one or more accelerometers.

In some embodiments, the software components stored in memory 102 mayinclude an operating system 126, a communication module (or set ofinstructions) 128, a contact/motion module (or set of instructions) 130,a graphics module (or set of instructions) 132, an edit module (or setof instructions) 133, a text input module (or set of instructions) 134,a Global Positioning System (GPS) module (or set of instructions) 135,and applications (or set of instructions) 136.

The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X,WINDOWS, or an embedded operating system such as VxWorks) includesvarious software components and/or drivers for controlling and managinggeneral system tasks (e.g., memory management, storage device control,power management, etc.) and facilitates communication between varioushardware and software components.

The communication module 128 facilitates communication with otherdevices over one or more external ports 124 and also includes varioussoftware components for handling data received by the RF circuitry 108and/or the external port 124. The external port 124 (e.g., UniversalSerial Bus (USB), FIREWIRE, etc.) is adapted for coupling directly toother devices or indirectly over a network (e.g., the Internet, wirelessLAN, etc.). In some embodiments, the external port is a multi-pin (e.g.,30-pin) connector that is the same as, or similar to and/or compatiblewith the 30-pin connector used on iPod (trademark of Apple Computer,Inc.) devices.

The contact/motion module 130 may detect contact with the touch screen112 (in conjunction with the display controller 156) and other touchsensitive devices (e.g., a touchpad or physical click wheel). Thecontact/motion module 130 includes various software components forperforming various operations related to detection of contact, such asdetermining if contact has occurred (e.g., detecting a finger-downevent), determining if there is movement of the contact and tracking themovement across the touch-sensitive surface (e.g., detecting one or morefinger-dragging events), and determining if the contact has ceased(e.g., detecting a finger-up event or a break in contact). Thecontact/motion module 130 receives contact data from the touch-sensitivesurface. Determining movement of the point of contact, which isrepresented by a series of contact data, may include determining speed(magnitude), velocity (magnitude and direction), and/or an acceleration(a change in magnitude and/or direction) of the point of contact. Theseoperations may be applied to single contacts (e.g., one finger contacts)or to multiple simultaneous contacts (e.g., “multitouch”/multiple fingercontacts). In some embodiments, the contact/motion module 130 and thedisplay controller 156 detects contact on a touchpad. In someembodiments, the contact/motion module 130 and the controller 160detects contact on a click wheel.

The contact/motion module 130 may detect a gesture input by a user.Different gestures on the touch-sensitive surface have different contactpatterns. Thus, a gesture may be detected by detecting a particularcontact pattern. For example, detecting a finger tap gesture comprisesdetecting a finger-down event followed by detecting a finger-up event atthe same position (or substantially the same position) as thefinger-down event (e.g., at the position of an icon). As anotherexample, detecting a finger swipe gesture on the touch-sensitive surfacecomprises detecting a finger-down event followed by detecting one ormore finger-dragging events, and subsequently followed by detecting afinger-up event.

The graphics module 132 includes various known software components forrendering and displaying graphics on the touch screen 112 or otherdisplay, including components for changing the intensity of graphicsthat are displayed. As used herein, the term “graphics” includes anyobject that can be displayed to a user, including without limitationtext, web pages, icons (such as user-interface objects including softkeys), digital images, videos, animations and the like.

In some embodiments, the graphics module 132 stores data representinggraphics to be used. Each graphic may be assigned a corresponding code.The graphics module 132 receives, from applications etc., one or morecodes specifying graphics to be displayed along with, if necessary,coordinate data and other graphic property data, and then generatesscreen image data to output to display controller 156.

The edit module 133, which may be a component of text input module 134,provides for cut, copy, paste, and other functions related touser-selected content in various applications (e.g., contacts 137,e-mail 140, IM 141, browser 147, calendar 148, search module 151, andany other application that needs to select and edit content).

The text input module 134, which may be a component of graphics module132, provides soft keyboards for entering text in various applications(e.g., contacts 137, e-mail 140, IM 141, browser 147, and any otherapplication that needs text input).

The GPS module 135 determines the location of the device and providesthis information for use in various applications (e.g., to telephone 138for use in location-based dialing, to camera 143 as picture/videometadata, and to applications that provide location-based services suchas weather widgets, local yellow page widgets, and map/navigationwidgets).

The applications 136 may include the following modules (or sets ofinstructions), or a subset or superset thereof:

-   -   a contacts module 137 (sometimes called an address book or        contact list);    -   a telephone module 138;    -   a video conferencing module 139;    -   an e-mail client module 140;    -   an instant messaging (IM) module 141;    -   a workout support module 142;    -   a camera module 143 for still and/or video images;    -   an image management module 144;    -   a video player module 145;    -   a music player module 146;    -   a browser module 147;    -   a calendar module 148;    -   widget modules 149, which may include weather widget 149-1,        stocks widget 149-2, calculator widget 149-3, alarm clock widget        149-4, dictionary widget 149-5, and other widgets obtained by        the user, as well as user-created widgets 149-6;    -   widget creator module 150 for making user-created widgets 149-6;    -   search module 151;    -   video and music player module 152, which merges video player        module 145 and music player module 146;    -   notes module 153;    -   map module 154; and/or    -   online video module 155.

Examples of other applications 136 that may be stored in memory 102include other word processing applications, other image editingapplications, drawing applications, presentation applications,JAVA-enabled applications, encryption, digital rights management, voicerecognition, and voice replication.

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, edit module 133, and text input module134, the contacts module 137 may be used to manage an address book orcontact list, including: adding name(s) to the address book; deletingname(s) from the address book; associating telephone number(s), e-mailaddress(es), physical address(es) or other information with a name;associating an image with a name; categorizing and sorting names;providing telephone numbers or e-mail addresses to initiate and/orfacilitate communications by telephone 138, video conference 139, e-mail140, or IM 141; and so forth.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111,microphone 113, touch screen 112, display controller 156, contact module130, graphics module 132, edit module 133, and text input module 134,the telephone module 138 may be used to enter a sequence of characterscorresponding to a telephone number, access one or more telephonenumbers in the address book 137, modify a telephone number that has beenentered, dial a respective telephone number, conduct a conversation anddisconnect or hang up when the conversation is completed. As notedabove, the wireless communication may use any of a plurality ofcommunications standards, protocols and technologies.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111,microphone 113, touch screen 112, display controller 156, optical sensor164, optical sensor controller 158, contact module 130, graphics module132, edit module 133, text input module 134, contact list 137, andtelephone module 138, the videoconferencing module 139 may be used toinitiate, conduct, and terminate a video conference between a user andone or more other participants.

In conjunction with RF circuitry 108, touch screen 112, displaycontroller 156, contact module 130, graphics module 132, edit module133, and text input module 134, the e-mail client module 140 may be usedto create, send, receive, and manage e-mail. In conjunction with imagemanagement module 144, the e-mail module 140 makes it very easy tocreate and send e-mails with still or video images taken with cameramodule 143.

In conjunction with RF circuitry 108, touch screen 112, displaycontroller 156, contact module 130, graphics module 132, edit module133, and text input module 134, the instant messaging module 141 may beused to enter a sequence of characters corresponding to an instantmessage, to modify previously entered characters, to transmit arespective instant message (for example, using a Short Message Service(SMS) or Multimedia Message Service (MMS) protocol for telephony-basedinstant messages or using XMPP, SIMPLE, or IMPS for Internet-basedinstant messages), to receive instant messages and to view receivedinstant messages. In some embodiments, transmitted and/or receivedinstant messages may include graphics, photos, audio files, video filesand/or other attachments as are supported in a MMS and/or an EnhancedMessaging Service (EMS). As used herein, “instant messaging” refers toboth telephony-based messages (e.g., messages sent using SMS or MMS) andInternet-based messages (e.g., messages sent using XMPP, SIMPLE, orIMPS).

In conjunction with RF circuitry 108, touch screen 112, displaycontroller 156, contact module 130, graphics module 132, edit module133, text input module 134, GPS module 135, map module 154, and musicplayer module 146, the workout support module 142 may be used to createworkouts (e.g., with time, distance, and/or calorie burning goals);communicate with workout sensors (sports devices); receive workoutsensor data; calibrate sensors used to monitor a workout; select andplay music for a workout; and display, store and transmit workout data.

In conjunction with touch screen 112, display controller 156, opticalsensor(s) 164, optical sensor controller 158, contact module 130,graphics module 132, and image management module 144, the camera module143 may be used to capture still images or video (including a videostream) and store them into memory 102, modify characteristics of astill image or video, or delete a still image or video from memory 102.

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, edit module 133, text input module 134,and camera module 143, the image management module 144 may be used toarrange, modify (e.g., edit), or otherwise manipulate, label, delete,present (e.g., in a digital slide show or album), and store still and/orvideo images.

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, audio circuitry 110, and speaker 111,the video player module 145 may be used to display, present or otherwiseplay back videos (e.g., on the touch screen or on an external, connecteddisplay via external port 124).

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, audio circuitry 110, speaker111, RF circuitry 108, and browser module 147, the music player module146 allows the user to download and play back recorded music and othersound files stored in one or more file formats, such as MP3 or AACfiles. In some embodiments, the device 100 may include the functionalityof an MP3 player, such as an iPod (trademark of Apple Computer, Inc.).

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, edit module133, and text input module 134, the browser module 147 may be used tobrowse the Internet, including searching, linking to, receiving, anddisplaying web pages or portions thereof, as well as attachments andother files linked to web pages.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, edit module133, text input module 134, e-mail module 140, and browser module 147,the calendar module 148 may be used to create, display, modify, andstore calendars and data associated with calendars (e.g., calendarentries, to do lists, etc.).

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, edit module133, text input module 134, and browser module 147, the widget modules149 are mini-applications that may be downloaded and used by a user(e.g., weather widget 149-1, stocks widget 149-2, calculator widget149-3, alarm clock widget 149-4, and dictionary widget 149-5) or createdby the user (e.g., user-created widget 149-6). In some embodiments, awidget includes an HTML (Hypertext Markup Language) file, a CSS(Cascading Style Sheets) file, and a JavaScript file. In someembodiments, a widget includes an XML (Extensible Markup Language) fileand a JavaScript file (e.g., Yahoo! Widgets).

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, edit module133, text input module 134, and browser module 147, the widget creatormodule 150 may be used by a user to create widgets (e.g., turning auser-specified portion of a web page into a widget).

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, edit module 133, and text inputmodule 134, the search module 151 may be used to search for text, music,sound, image, video, and/or other files in memory 102 that match one ormore search criteria (e.g., one or more user-specified search terms).

In conjunction with touch screen 112, display controller 156, contactmodule 130, graphics module 132, edit module 133, and text input module134, the notes module 153 may be used to create and manage notes, to dolists, and the like.

In conjunction with RF circuitry 108, touch screen 112, display systemcontroller 156, contact module 130, graphics module 132, edit module133, text input module 134, GPS module 135, and browser module 147, themap module 154 may be used to receive, display, modify, and store mapsand data associated with maps (e.g., driving directions; data on storesand other points of interest at or near a particular location; and otherlocation-based data).

In conjunction with touch screen 112, display system controller 156,contact module 130, graphics module 132, audio circuitry 110, speaker111, RF circuitry 108, edit module 133, text input module 134, e-mailclient module 140, and browser module 147, the online video module 155allows the user to access, browse, receive (e.g., by streaming and/ordownload), play back (e.g., on the touch screen or on an external,connected display via external port 124), send an e-mail with a link toa particular online video, and otherwise manage online videos in one ormore file formats, such as H.264. In some embodiments, instant messagingmodule 141, rather than e-mail client module 140, is used to send a linkto a particular online video. Additional description of the online videoapplication can be found in U.S. Provisional Patent Application No.60/936,562, “Portable Multifunction Device, Method, and Graphical UserInterface for Playing Online Videos,” filed Jun. 20, 2007, and U.S.patent application Ser. No. 11/968,067, “Portable Multifunction Device,Method, and Graphical User Interface for Playing Online Videos,” filedDec. 31, 2007, the content of which is hereby incorporated by referencein its entirety.

Each of the above identified modules and applications correspond to aset of executable instructions for performing one or more functionsdescribed above and the methods described in this application (e.g., thecomputer-implemented methods and other information processing methodsdescribed herein). These modules (i.e., sets of instructions) need notbe implemented as separate software programs, procedures or modules, andthus various subsets of these modules may be combined or otherwisere-arranged in various embodiments. For example, video player module 145may be combined with music player module 146 into a single module (e.g.,video and music player module 152, FIG. 1B). In some embodiments, memory102 may store a subset of the modules and data structures identifiedabove. Furthermore, memory 102 may store additional modules and datastructures not described above.

In some embodiments, the device 100 is a device where operation of apredefined set of functions on the device is performed exclusivelythrough a touch screen 112 and/or a touchpad. By using a touch screenand/or a touchpad as the primary input/control device for operation ofthe device 100, the number of physical input/control devices (such aspush buttons, dials, and the like) on the device 100 may be reduced.

The predefined set of functions that may be performed exclusivelythrough a touch screen and/or a touchpad include navigation between userinterfaces. In some embodiments, the touchpad, when touched by the user,navigates the device 100 to a main, home, or root menu from any userinterface that may be displayed on the device 100. In such embodiments,the touchpad may be referred to as a “menu button.” In some otherembodiments, the menu button may be a physical push button or otherphysical input/control device instead of a touchpad.

FIG. 2 illustrates a portable multifunction device 100 having a touchscreen 112 in accordance with some embodiments. The touch screen maydisplay one or more graphics within user interface (UI) 200. In thisembodiment, as well as others described below, a user may select one ormore of the graphics by making contact or touching the graphics, forexample, with one or more fingers 202 (not drawn to scale in thefigure). In some embodiments, selection of one or more graphics occurswhen the user breaks contact with the one or more graphics. In someembodiments, the contact may include a gesture, such as one or moretaps, one or more swipes (from left to right, right to left, upwardand/or downward) and/or a rolling of a finger (from right to left, leftto right, upward and/or downward) that has made contact with the device100. In some embodiments, inadvertent contact with a graphic may notselect the graphic. For example, a swipe gesture that sweeps over anapplication icon may not select the corresponding application when thegesture corresponding to selection is a tap.

The device 100 may also include one or more physical buttons, such as“home” or menu button 204. As described previously, the menu button 204may be used to navigate to any application 136 in a set of applicationsthat may be executed on the device 100. Alternatively, in someembodiments, the menu button is implemented as a soft key in a GUI intouch screen 112.

In one embodiment, the device 100 includes a touch screen 112, a menubutton 204, a push button 206 for powering the device on/off and lockingthe device, volume adjustment button(s) 208, a Subscriber IdentityModule (SIM) card slot 210, a head set jack 212, and a docking/chargingexternal port 124. The push button 206 may be used to turn the poweron/off on the device by depressing the button and holding the button inthe depressed state for a predefined time interval; to lock the deviceby depressing the button and releasing the button before the predefinedtime interval has elapsed; and/or to unlock the device or initiate anunlock process. In an alternative embodiment, the device 100 also mayaccept verbal input for activation or deactivation of some functionsthrough the microphone 113.

FIG. 3 is a block diagram of an exemplary multifunction device inaccordance with some embodiments. Device 300 need not be portable. Insome embodiments, the device 300 is a laptop computer, a desktopcomputer, a table computer, a multimedia player device, a navigationdevice, an educational device (such as a child's learning toy), a gamingsystem, or a control device (e.g., a home or industrial controller). Thedevice 300 typically includes one or more processing units (CPU's) 310,one or more network or other communications interfaces 360, memory 370,and one or more communication buses 320 for interconnecting thesecomponents. The communication buses 320 may include circuitry (sometimescalled a chipset) that interconnects and controls communications betweensystem components. The device 300 includes an input/output (I/O)interface 330 comprising a display 340, which in some embodiments is atouch screen display 112. The I/O interface 330 also may include akeyboard and/or mouse (or other pointing device) 350 and a touchpad 355.Memory 370 includes high-speed random access memory, such as DRAM, SRAM,DDR RAM or other random access solid state memory devices; and mayinclude non-volatile memory, such as one or more magnetic disk storagedevices, optical disk storage devices, flash memory devices, or othernon-volatile solid state storage devices. Memory 370 may optionallyinclude one or more storage devices remotely located from the CPU(s)310. In some embodiments, memory 370 stores programs, modules, and datastructures analogous to the programs, modules, and data structuresstored in the memory 102 of portable multifunction device 100 (FIG. 1),or a subset thereof. Furthermore, memory 370 may store additionalprograms, modules, and data structures not present in the memory 102 ofportable multifunction device 100. For example, memory 370 of device 300may store drawing module 380, presentation module 382, word processingmodule 384, website creation module 386, disk authoring module 388,and/or spreadsheet module 390, while memory 102 of portablemultifunction device 100 (FIG. 1) may not store these modules.

Each of the above identified elements in FIG. 3 may be stored in one ormore of the previously mentioned memory devices. Each of the aboveidentified modules corresponds to a set of instructions for performing afunction described above. The above identified modules or programs(i.e., sets of instructions) need not be implemented as separatesoftware programs, procedures or modules, and thus various subsets ofthese modules may be combined or otherwise re-arranged in variousembodiments. In some embodiments, memory 370 may store a subset of themodules and data structures identified above. Furthermore, memory 370may store additional modules and data structures not described above.

Attention is now directed towards embodiments of user interfaces (“UI”)that may be implemented on a portable multifunction device 100.

FIGS. 4A and 4B illustrate exemplary user interfaces for a menu ofapplications on a portable multifunction device 100 in accordance withsome embodiments. Similar user interfaces may be implemented on device300. In some embodiments, user interface 400A includes the followingelements, or a subset or superset thereof:

-   -   Signal strength indicator(s) 402 for wireless communication(s),        such as cellular and Wi-Fi signals;    -   Time 404;    -   Bluetooth indicator 405;    -   Battery status indicator 406;    -   Tray 408 with icons for frequently used applications, such as:        -   Phone 138, which may include an indicator 414 of the number            of missed calls or voicemail messages;        -   E-mail client 140, which may include an indicator 410 of the            number of unread e-mails;        -   Browser 147;        -   Music player 146; and    -   Icons for other applications, such as:        -   IM 141;        -   Image management 144;        -   Camera 143;        -   Video player 145;        -   Weather 149-1;        -   Stocks 149-2;        -   Workout support 142;        -   Calendar 148;        -   Calculator 149-3;        -   Alarm clock 149-4;        -   Dictionary 149-5; and        -   User-created widget 149-6.

In some embodiments, user interface 400B includes the followingelements, or a subset or superset thereof:

-   -   402, 404, 405, 406, 141, 148, 144, 143, 149-3, 149-2, 149-1,        149-4, 410, 414, 138, 140, and 147, as described above;    -   Map 154;    -   Notes 153;    -   Settings 412, which provides access to settings for the device        100 and its various applications 136, as described further        below;    -   Video and music player module 152, also referred to as iPod        (trademark of Apple Computer, Inc.) module 152; and    -   Online video module 155, also referred to as YouTube (trademark        of Google, Inc.) module 155.

Attention is now directed towards embodiments of user interfaces (“UI”)and associated processes that may be implemented on a multifunctiondevice with a touch screen display, such as device 300 or portablemultifunction device 100.

FIGS. 5A-5QQ illustrate exemplary user interfaces for selecting contenton a multifunction device with a touch screen display in accordance withsome embodiments. The user interfaces in these figures are used toillustrate the processes described below with respect to FIGS. 9A-9D,10A-10D, 11A-11C, 12, and 13A-13G.

FIGS. 5A-5D illustrate using a content magnifier 508 to position ininsertion marker 510 in editable content. The content magnifier moves inaccordance with the movement of a finger contact 514.

FIGS. 5D-5K illustrate selecting editable content associated with thecurrent location of the insertion marker in response to detecting afinger gesture on a “select” command icon 518. In some embodiments, aword is selected if the insertion marker is within the word (e.g., theword “nation” in FIGS. 5H-5I), adjacent to the first letter of the word(e.g., the word “Four” in FIGS. 5D-5E), or adjacent to the last letterof the word (e.g., the word “forth” in FIGS. 5F-5G). In someembodiments, the closest word and any punctuation and/or spaces areselected if the insertion marker is currently located after a sentenceand not within a word or adjacent to the first or last letter of a word(e.g., “equal.” in FIGS. 5J-5K).

FIGS. 5D and 5L illustrate selecting all of the editable content inresponse to detecting a finger gesture on a “select all” command icon.

FIGS. 5M-5O illustrate using a content magnifier 508 to position aposition marker 546 in read-only content 538. The content magnifier 508moves in accordance with the movement of a finger contact 550.

FIGS. 5P-5Q illustrate selecting read-only content in response todetecting a finger gesture on a “select” command icon. In someembodiments, the selections are analogous to the selections in editablecontent, but the insertion marker 510 is not displayed in theunmagnified content.

FIGS. 5P, 5R, and 5S illustrate selecting all of the read-only content538 in response to detecting a finger gesture on a “Select All” commandicon 520.

FIGS. 5T and 5U illustrate selecting a word with a double-tap, singlefinger gesture on a word.

FIGS. 5V-5Z illustrate gestures to select a word, line of text,sentence, or paragraph.

FIGS. 5AA-5CC illustrate a tap-and-a-half gesture by a single finger.

FIGS. 5DD-5KK illustrate two-finger gestures for selecting content andincreasing the selected content.

FIGS. 5LL-5NN illustrate a margin-initiated selection gesture by asingle finger. FIGS. 500-5QQ illustrate a swipe-initiated selectiongesture by a single finger.

FIGS. 6A-6UU illustrate exemplary user interfaces for a command displayarea for selected content in accordance with some embodiments. The userinterfaces in these figures are used to illustrate the processesdescribed below with respect to FIGS. 14A-14D and 15A-15C.

FIGS. 6A-6B illustrate cutting selected content. FIGS. 6C-6J illustratepasting previously cut or copied content.

FIG. 6K illustrates a command display area with an icon for displayingadditional command options.

FIGS. 6L-6P illustrate methods for undoing an action.

FIGS. 6Q-6R illustrate providing information about a physical locationin selected content.

FIGS. 6S-6V illustrate interfaces for performing actions based on aphone number in the selected content.

FIGS. 6W-6X illustrate initiating an email based on an email address inthe selected content.

FIGS. 6Y-6Z illustrate initiating web browsing based on a web address inthe selected content.

FIGS. 6AA-6BB illustrate initiating a search using information inselected content.

FIGS. 6CC-6OO illustrate actions that cause the command display area todisappear and/or reappear.

FIGS. 6PP-6UU illustrate changes in the placement of the display commandarea relative to the selected content.

FIGS. 7A-7E illustrate exemplary user interfaces for using a contentmagnifier to select a respective end of selected content in accordancewith some embodiments. The user interfaces in these figures are used toillustrate the processes described below with respect to FIGS. 16A-16E.

FIGS. 8A-8U illustrate exemplary user interfaces for selecting contentin structured electronic documents in accordance with some embodiments.The user interfaces in these figures are used to illustrate theprocesses described below with respect to FIGS. 17A-17B, 18, and 19.

FIGS. 8A and 8B illustrate enlarging and centering a box of contentprior to content selection. FIGS. 8B-8E illustrate selecting a first boxof content, enlarging the selection to two boxes with a finger gesture,and copying the two boxes.

FIGS. 8F-8K illustrate selecting a first box of content and enlargingthe selected boxes of content with finger gestures.

FIGS. 8L-8M illustrate copying a box of content and pasting the box intoa note (FIG. 8M) and into an email (FIG. 8N-8O).

FIGS. 8P-8U illustrate selecting content within a single box of contenton a web page (FIGS. 8P-8T) and in an HTML email message (FIG. 8U).

FIGS. 9A-9D are flow diagrams illustrating a method of selectingeditable content in accordance with some embodiments. The method 900 isperformed at a multifunction device (e.g., 300, FIG. 3) with a touchscreen display. In some embodiments, the method is performed at aportable multifunction device with a touch screen display (e.g.,portable multifunction device 100). Some operations in method 900 may becombined and/or the order of some operations may be changed.

As described below, the method 900 provides an intuitive way to selecteditable content at a multifunction device with a touch screen display.The method reduces the cognitive burden on a user when selectingcontent, thereby creating a more efficient human-machine interface. Forbattery-operated devices, enabling a user to perform content selectionfaster and more efficiently conserves power and increases the timebetween battery charges.

The device displays (902) editable content 502 on the touch screendisplay at a first magnification (FIG. 5A). In some embodiments, theeditable content 502 comprises (904) text (e.g., plain text,unstructured text, or formatted text).

The device detects (906) a finger gesture 504 on the editable content502 (FIG. 5A). In some embodiments, the finger gesture on the editablecontent is a press and hold gesture (908).

In response to detecting the finger gesture 504 on the editable content502, the device: expands a portion 506 (FIG. 5B) of the editable contenton the touch screen display to a second magnification that is greaterthan the first magnification while continuing to display at least someof the editable content 502 at the first magnification and displays acontent magnifier (910) (e.g., as shown in FIG. 5B). The contentmagnifier 508 displays the expanded portion 506 of the editable contentand an insertion marker 510 at a first location within the expandedportion of the editable content (e.g., at the end of the word “equal” inFIG. 5B).

In some embodiments, the expanded portion 506 of the editable contentdisplayed in the content magnifier includes (912) portions of at leastthree horizontal lines of text displayed concurrently (e.g., analogousto that shown in FIG. 5O).

In some embodiments, the content magnifier 508 has a predefined shape(e.g., a circle in FIG. 5B) (914).

In some embodiments, the insertion marker 510 is a cursor, insertionbar, or insertion point (916).

The device detects (918) movement (e.g., 512, FIG. 5B) of a fingercontact 514 across the touch screen display. In some embodiments, thefinger contact 514 is part of the finger gesture (e.g., when the fingergesture 504 (FIG. 5A) is a “press and hold” gesture) (920).

The device moves the content magnifier 508 and changes the expandedportion 506 of the editable content in accordance with the detectedmovement 512 of the finger contact 514 (922) (e.g., as shown in FIGS. 5Band 5C).

The device moves (924) the insertion marker 510 from the first locationto a second location within the expanded portion of the editable contentin accordance with the detected movement of the finger contact (e.g.,from the end of the word “equal” in FIG. 5B to the beginning of the word“Four” in FIG. 5C).

The device detects (926) lift off of the finger contact 514 while theinsertion marker 510 is located at the second location within theexpanded portion 506 of the editable content (e.g., at the beginning ofthe word “Four” in FIG. 5C).

In response to detecting lift off of the finger contact, the device:ceases to display the content magnifier 508 and the expanded portion 506of the editable content; displays the insertion marker 510 at a currentlocation in the editable content at the first magnification (e.g., atthe beginning of the word “Four” in FIG. 5D), wherein the currentlocation corresponds to the second location within the expanded portionof the editable content; and displays a first command display area 516adjacent to the insertion marker (928) (e.g., as shown in FIG. 5D). Thefirst command display area 516 includes an icon for selecting contentassociated with the current location of the insertion marker 510 (e.g.,“Select” icon 518, FIG. 5D).

In some embodiments, in response to detecting lift off of the fingercontact 514, the device displays (930) an animation of the expandedportion 506 of the editable content shrinking into the insertion marker510 at the current location in the editable content at the firstmagnification.

In some embodiments, the first command display area 516 includes (932)an icon for selecting all of the editable content (e.g., “Select All”icon 520, FIG. 5D).

In some embodiments, the first command display area 516 includes (934)an icon for displaying additional command options (not shown, butanalogous to the “ . . . ” icon 602 in FIG. 6K).

In some embodiments, the first command display area 516 includes (936)an icon for undoing a previous action (not shown, but analogous to the“Undo” icon 604, FIG. 6N).

In some embodiments, the first command display area 516 includes (938)an icon for redoing a previous action (not shown, but analogous to the“Redo” icon 605, FIG. 6N).

In some embodiments, icons in the first command display area 516 include(940) at least one command that is user configurable.

In some embodiments, icons in the first command display area 516 include(942) at least one command that is context sensitive.

In some embodiments, the editable content 502 is displayed within afirst application, and icons in the first command display area 516include (944) at least one command to invoke a second applicationcoupled to the first application via a predefined applicationprogramming interface.

In some embodiments, the device detects (946) a finger gesture on theicon for selecting content associated with the current location of theinsertion marker (e.g., a tap gesture 522 on “Select” icon 518, FIG.5D). In response to detecting the finger gesture on the icon forselecting content associated with the current location of the insertionmarker, the device ceases to display the first command display area 516and selects content associated with the current location of theinsertion marker. In some embodiments, a word is selected if theinsertion marker is within the word (e.g., the word “nation” in FIGS.5H-5I), adjacent to the first letter of the word (e.g., the word “Four”in FIGS. 5D-5E), or adjacent to the last letter of the word (e.g., theword “forth” in FIGS. 5F-5G). In some embodiments, the closest word andany punctuation and/or spaces are selected if the insertion marker 510is currently located after a sentence and not within a word or adjacentto the first or last letter of a word (e.g., “equal.” in FIGS. 5J-5K).

In some embodiments, in response to detecting the finger gesture on theicon for selecting content associated with the current location of theinsertion marker, the device displays (948) a start-point object 526(FIG. 5E) and an end-point object 528 at respective ends of the selectedcontent 524. For example, in response to detecting the tap gesture 522on “Select” icon 518 (FIG. 5D), the device displays a start-point object526 and an end-point object 528 at respective ends of the selected word“Four” (FIG. 5E).

In some embodiments, in response to detecting the finger gesture on theicon for selecting content associated with the current location of theinsertion marker, the device displays (950) a second command displayarea adjacent to the selected content (e.g., second command display area530 is adjacent to the selected word “Four” in FIG. 5E). The secondcommand display area 530 includes an icon for cutting the selectedcontent and an icon for copying the selected content (e.g., “Cut” icon532 and “Copy” icon 534, FIG. 5E).

In some embodiments, the second command display area 530 includes (952)an icon for pasting previously cut or copied content (e.g., “Paste” icon536, FIG. 5E).

In some embodiments, the second command display area includes (954) anicon for undoing a previous action (e.g., “Undo” icon 604, FIG. 6N).

In some embodiments, the second command display area includes (956) anicon for displaying additional command options (e.g., “ . . . ” icon602, FIG. 6K).

In some embodiments, the second command display area includes (958) anicon redoing a previous action (e.g., “Redo” icon 605, FIG. 6N).

In some embodiments, icons in the second command display area include(960) at least one command that is user configurable.

In some embodiments, icons in the second command display area include(962) at least one command that is context sensitive.

In some embodiments, the editable content is displayed within a firstapplication, and icons in the second command display area include (964)at least one command to invoke a second application coupled to the firstapplication via a predefined application programming interface.

The second command display area 530 may include one or more of the iconsdiscussed below with respect to FIGS. 6A-6BB.

FIGS. 10A-10D are flow diagrams illustrating a method of selectingread-only content in accordance with some embodiments. The method 1000is performed at a multifunction device (e.g., 300, FIG. 3) with a touchscreen display. In some embodiments, the method is performed at aportable multifunction device with a touch screen display (e.g.,portable multifunction device 100). Some operations in method 1000 maybe combined and/or the order of some operations may be changed.

As described below, the method 1000 provides an intuitive way to selectread-only content at a multifunction device with a touch screen display.The method reduces the cognitive burden on a user when selectingcontent, thereby creating a more efficient human-machine interface. Forbattery-operated devices, enabling a user to perform content selectionfaster and more efficiently conserves power and increases the timebetween battery charges.

The device displays (1002) read-only content 538 on the touch screendisplay at a first magnification (FIG. 5M). In some embodiments, theread-only content 538 comprises (1004) text (e.g., plain text,unstructured text, formatted, or text in a web page).

The device detects (1006) a finger gesture 540 on the read-only content(FIG. 5M). In some embodiments, the finger gesture on the read-onlycontent is a press and hold gesture (1008).

In response to detecting the finger gesture 540 on the read-only content538, the device: expands a portion 544 of the read-only content on thetouch screen display to a second magnification that is greater than thefirst magnification while continuing to display at least some of theread-only content 538 at the first magnification and displays a contentmagnifier (1010) (e.g., as shown in FIG. 5N). The content magnifier 508displays the expanded portion 544 of the read-only content and aposition marker 546 at a first location within the expanded portion ofthe read-only content (e.g., in the middle of the word “earth” in FIG.5N).

In some embodiments, the expanded portion 544 of the read-only contentdisplayed in the content magnifier includes (1012) portions of at leastthree horizontal lines of text displayed concurrently (e.g., as shown inFIG. 5O).

In some embodiments, the content magnifier 508 has a predefined shape(e.g., a circle in FIG. 5N) (1014).

For read-only content, the insertion marker 510 becomes a positionmarker 546 that is used in processes that select existing read-onlycontent (e.g., for copying), but not for processes that modify theexisting (read-only) content.

The device detects (1016) movement (e.g., 548, FIG. 5N) of a fingercontact 550 across the touch screen display. In some embodiments, thefinger contact 550 is part of the finger gesture (e.g., when the fingergesture 540 is a “press and hold” gesture) (1018).

The device moves the content magnifier 508 and changes the expandedportion 544 of the read-only content in accordance with the detectedmovement 548 of the finger contact 550 (1020).

The device moves (1022) the position marker 546 from the first locationto a second location within the expanded portion of the read-onlycontent in accordance with the detected movement of the finger contact(e.g., from the middle of the word “earth” in FIG. 5N to the middle ofthe word “nation” in FIG. 5O).

The device detects (1024) lift off of the finger contact 550 while theposition marker 546 is located at the second location within theexpanded portion 544 of the read-only content (e.g., in the middle ofthe word “nation” in FIG. 5O).

In response to detecting lift off of the finger contact, the device:ceases to display the content magnifier 508, the expanded portion 544 ofthe read-only content, and the position marker 546; and displays a firstcommand display area 516 adjacent to a current location in the read-onlycontent at the first magnification (1026). The current locationcorresponds to the second location within the expanded portion of theread-only content (e.g., the middle of the word “nation” in FIG. 5P).The first command display area 516 includes an icon for selectingcontent associated with the current location (e.g., “Select” icon 518,FIG. 5P).

In some embodiments, the first command display area 516 includes (1028)an icon for selecting all of the read-only content (e.g., “Select All”icon 520, FIG. 5P).

In some embodiments, the first command display area 516 includes (1030)an icon for displaying additional command options (not shown, butanalogous to the “ . . . ” icon 602 in FIG. 6K).

In some embodiments, the first command display area 516 includes (1032)an icon for undoing a previous action (not shown, but analogous to the“Undo” icon 604, FIG. 6N).

In some embodiments, the first command display area 516 includes (1034)an icon redoing a previous action (not shown, but analogous to the“Redo” icon 605, FIG. 6N).

In some embodiments, icons in the first command display area 516 include(1036) at least one command that is user configurable.

In some embodiments, icons in the first command display arca 516 include(1038) at least one command that is context sensitive.

In some embodiments, the read-only content 538 is displayed within afirst application, and icons in the first command display area 516include (1040) at least one command to invoke a second applicationcoupled to the first application via a predefined applicationprogramming interface.

In some embodiments, the device detects (1042) a finger gesture on theicon for selecting content associated with the current location (e.g., atap gesture 552 on “Select” icon 518, FIG. 5P). In response to detectingthe finger gesture on the icon for selecting content associated with thecurrent location, the device: ceases to display the first commanddisplay area 516 and selects content associated with the currentlocation. In some embodiments, a word is selected if the currentlocation is within the word (e.g., the word “nation” in FIGS. 5P-5Q),adjacent to the first letter of the word, or adjacent to the last letterof the word. In some embodiments, the closest word and any punctuationand/or spaces are selected if the current location is after a sentenceand not within a word or adjacent to the first or last letter of a word.In some embodiments, this content selection is analogous to thatdescribed above for editable content, but no insertion marker 510 isdisplayed because the content is read-only content.

In some embodiments, in response to detecting the finger gesture on theicon for selecting content associated with the current location, thedevice displays (1044) a start-point object 526 and an end-point object528 at respective ends of the selected content 524. For example, inresponse to detecting the tap gesture 552 on “Select” icon 518 (FIG.5P), the device displays a start-point object 526 and an end-pointobject 528 at respective ends of the selected word “nation” (FIG. 5Q).

In some embodiments, in response to detecting the finger gesture on theicon for selecting content associated with the current location, thedevice displays (1046) a second command display area adjacent to theselected content (e.g., second command display area 530 is adjacent tothe selected word “nation” in FIG. 5Q). The second command display area530 includes an icon for copying the selected content (e.g., “copy” icon534, FIG. 5Q).

The second command display area 530 may include one or more of the iconsdiscussed below with respect to FIGS. 6A-6BB.

In some embodiments, the same content can be either editable orread-only, depending on the context or mode of an application, in whichcase the method for initially selecting content changes accordingly(e.g., from method 900 to method 1000). For example, the content in thenotes application 153 is editable in FIGS. 5A-5L, whereas the content inthe notes application 153 is read-only in FIGS. 5M-5Q. The read-onlymode in the notes application 153 may be entered in response toactivation of the “Done” icon (FIG. 5A), while the editing mode may beentered in response to activation of the “+” icon (FIG. 5M) or by agesture (e.g., a tap gesture) on the read-only content 538.

FIGS. 11A-11C are flow diagrams illustrating a method of selectingcontent in accordance with some embodiments. The method 1100 isperformed at a multifunction device (e.g., 300, FIG. 3) with a touchscreen display. In some embodiments, the method is performed at aportable multifunction device with a touch screen display (e.g.,portable multifunction device 100). Some operations in method 1100 maybe combined and/or the order of some operations may be changed.

As described below, the method 1100 provides an intuitive way to selectcontent at a multifunction device with a touch screen display. Themethod reduces the cognitive burden on a user when selecting content,thereby creating a more efficient human-machine interface. Forbattery-operated devices, enabling a user to perform content selectionfaster and more efficiently conserves power and increases the timebetween battery charges.

The device displays (1102) content on the touch screen display at afirst magnification. In some embodiments, the content comprises (1103)text (e.g., plain text, unstructured text, formatted text, or text in aweb page). The content may be either editable 502 or read-only 538.

The device detects (1104) a finger gesture on the content (e.g., gesture504, FIG. 5A). In some embodiments, the finger gesture on the content isa press and hold gesture (1106).

In response to detecting the finger gesture on the content, the device:expands a portion 506 of the content on the touch screen display to asecond magnification that is greater than the first magnification whilecontinuing to display at least some of the content at the firstmagnification; and displays a content magnifier (1108) (e.g., as shownin FIG. 5B). The content magnifier 508 displays the expanded portion 506of the content and an insertion marker 510 at a first location withinthe expanded portion of the content (e.g., at the end of the word“equal” in FIG. 5B).

In some embodiments, the expanded portion of the content displayed inthe content magnifier includes (1110) portions of at least threehorizontal lines of text displayed concurrently (e.g., as shown in FIG.5O).

In some embodiments, the content magnifier has a predefined shape (e.g.,a circle in FIG. 5B) (1112).

In some embodiments, the insertion marker is a cursor, insertion bar, orinsertion point (1114).

The device detects (1116) movement (e.g., 512, FIG. 5B) of a fingercontact across the touch screen display. In some embodiments, the fingercontact 514 is part of the finger gesture (e.g., when the finger gesture504 (FIG. 5A) is a “press and hold” gesture) (1118).

The device moves the content magnifier 508 and changes the expandedportion 506 of the content in accordance with the detected movement 512of the finger contact 514 (1120) (e.g., as shown in FIGS. 5B and 5C).

The device moves (1122) the insertion marker 510 from the first locationto a second location within the expanded portion of the content inaccordance with the detected movement of the finger contact (e.g., fromthe end of the word “equal” in FIG. 5B to the beginning of the word“Four” in FIG. 5C).

The device detects (1124) lift off of the finger contact 514 while theinsertion marker 510 is located at the second location within theexpanded portion 506 of the content (e.g., at the beginning of the word“Four” in FIG. 5C).

In response to detecting lift off of the finger contact, the device:ceases to display the content magnifier 508, the expanded portion 506 ofthe content, and the insertion marker 510; and selects contentassociated with the second location of the insertion marker (1126)(e.g., as shown in FIG. 5E, where the word “Four” is selected). In someembodiments, a word is selected if the insertion marker is within theword, adjacent to the first letter of the word (e.g., the word “Four” inFIG. 5C), or adjacent to the last letter of the word. In someembodiments, the closest word and any punctuation and/or spaces areselected if the insertion marker 510 is currently located after asentence and not within a word or adjacent to the first or last letterof a word.

In some embodiments, in response to detecting lift off of the fingercontact, the device displays (1128) a start-point object 526 and anend-point object 528 at respective ends of the selected content 524. Forexample, in response to detecting lift off of the finger contact 514(FIG. 5C), the device displays a start-point object 526 and an end-pointobject 528 at respective ends of the selected word “Four” (FIG. 5E).

In some embodiments, in response to detecting lift off of the fingercontact, the device displays (1130) a command display area 530 adjacentto the selected content (e.g., command display area 530 is adjacent tothe selected word “Four” in FIG. 5E). The command display area 530includes an icon for copying the selected content (e.g., “Copy” icon534, FIG. 5E). The command display area 530 may include one or more ofthe icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, in response to detecting lift off of the fingercontact, the device displays (1132) an animation of the expanded portion506 of the content shrinking into the selected content 524.

FIG. 12 is a flow diagram illustrating a method of selecting a word witha double-tap gesture by a single finger in accordance with someembodiments. The method 1200 is performed at a multifunction device(e.g., 300, FIG. 3) with a touch screen display. In some embodiments,the method is performed at a portable multifunction device with a touchscreen display (e.g., portable multifunction device 100).

As described below, the method 1200 provides a fast and easy way toselect a word at a multifunction device with a touch screen display. Themethod reduces the cognitive burden on a user when selecting content,thereby creating a more efficient human-machine interface. Forbattery-operated devices, enabling a user to perform content selectionfaster and more efficiently conserves power and increases the timebetween battery charges.

The device displays (1202) content on the touch screen display. In someembodiments, the content comprises (1204) text (e.g., plain text,unstructured text, formatted text, or text in a web page). The contentmay be either editable 502 or read-only 538.

The device detects (1206) a double-tap gesture by a single finger on aword in the content. For example, the device detects a double-tapgesture 554 by a single finger on the word “forth” in FIG. 5T.

In response to detecting the double-tap gesture 554 by the single fingeron the word in the content, the device selects the word, and displays astart-point object and an end-point object at respective ends of theword (1208). For example, in response to detecting the double-tapgesture 554 by the single finger on the word “forth” in FIG. 5T, thedevice selects “forth”, and displays a start-point object 526 and anend-point object 528 at respective ends of “forth,” as shown in FIG. 5U.

In some embodiments, in response to detecting the double-tap gesture 554by the single finger on the word in the content, the device displays(1210) a command display area adjacent to the word. For example, thedevice displays command display area 530 adjacent to “forth” in FIG. 5U.The command display area 530 includes an icon for copying selectedcontent (e.g., “Copy” icon 534, FIG. 5U).

The command display area 530 may include one or more of the iconsdiscussed below with respect to FIGS. 6A-6BB. Analogous methods tomethod 1200 may be used with some of the other content selectiongestures described below to rapidly select desired portions of text,without needing to use the content magnifier 508 to position theinsertion marker 510.

FIGS. 13A-13G are flow diagrams illustrating a method of selectingcontent with finger gestures in accordance with some embodiments. Themethod 1300 is performed at a multifunction device (e.g., 300, FIG. 3)with a touch screen display. In some embodiments, the method isperformed at a portable multifunction device with a touch screen display(e.g., portable multifunction device 100). Some operations in method1300 may be combined and/or the order of some operations may be changed.

As described below, the method 1300 provides a fast and easy way toselect content at a multifunction device with a touch screen display.The method reduces the cognitive burden on a user when selectingcontent, thereby creating a more efficient human-machine interface. Forbattery-operated devices, enabling a user to perform content selectionfaster and more efficiently conserves power and increases the timebetween battery charges.

The device displays (1302) content on the touch screen display. In someembodiments, the content comprises (1304) text (e.g., plain text,unstructured text, formatted text, or text in a web page). The contentmay be either editable 502 or read-only 538.

The device detects (1306) one or more fingers on the touch screendisplay.

The device recognizes (1308) a gesture made by the one or more fingerson the touch screen display. The gesture is one gesture in a pluralityof predefined gestures operable to select or assist in selecting aportion of the content.

The device performs (1310) an action with respect to the content inresponse to recognizing the gesture.

In some embodiments, performing an action includes, in response torecognizing the gesture, selecting at least a portion of the content,and displaying a start point object 526 and end point object 528 atrespective ends of the selected content 524 (1312).

In some embodiments, performing an action includes, in response torecognizing the gesture, selecting at least a portion of the content anddisplaying a command display area 530 adjacent the selected content(1314). The command display area 530 includes one or more iconscorresponding to respective commands. The command display area 530 mayinclude one or more of the icons discussed below with respect to FIGS.6A-6BB.

In some embodiments, the gesture is a single-tap gesture by a singlefinger at a first location in the content (1316). In response torecognizing the single-tap gesture by the single finger at the firstlocation in the content, the device displays an insertion marker 510 atthe first location in the content.

In some embodiments, the gesture is a predefined number of successivetaps by a single finger (e.g., a double-tap gesture) on a first word inthe content (1318). In response to recognizing the predefined number ofsuccessive taps by the single finger on the first word in the content,the device selects the first word and displays a start-point object andan end-point object at respective ends of the first word. For example,in response to recognizing a double-tap gesture 566 (FIG. 5V) on theword “nation,” the device selects the word “nation” and displays astart-point object 526 and an end-point object 528 at respective ends of“nation” (FIG. 5W). In some embodiments, in response to recognizing thepredefined number of successive taps by the single finger on the firstword in the content, the device displays (1320) a command display area530 (FIG. 5W) adjacent to the first word. The command display area 530includes an icon for copying selected content (e.g., “Copy” icon 534,FIG. 5W). The command display area 530 may include one or more of theicons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a predefined number of successivetaps by a single finger (e.g., a triple-tap gesture) on a sentence inthe content (1322). In some embodiments, the gesture is on a single lineof text in the content. In response to recognizing the predefined numberof successive taps by the single finger on the sentence (or single lineof text) in the content, the device selects the sentence (or single lineof text) and displays a start-point object and an end-point object atrespective ends of the sentence (or single line of text). For example,in response to recognizing a triple-tap gesture 562 on a sentence (FIG.5V), the device selects the sentence and displays a start-point object526 and an end-point object 528 at respective ends of the sentence (FIG.5X). Alternatively, in response to recognizing a triple-tap gesture 564on a single line of text (FIG. 5V), the device selects the single lineof text and displays a start-point object 526 and an end-point object528 at respective ends of the single line of text (FIG. 5Y). In someembodiments, in response to recognizing the predefined number ofsuccessive taps by the single finger on the sentence in the content (orsingle line of text), the device displays (1324) a command display area530 adjacent to the sentence (or single line of text). The commanddisplay area 530 includes an icon for copying selected content (e.g.,“Copy” icon 534, FIG. 5X or 5Y). The command display area 530 mayinclude one or more of the icons discussed below with respect to FIGS.6A-6BB.

In some embodiments, the gesture is a predefined number of successivetaps by a single finger (e.g., a quadruple-tap gesture) on a paragraphin the content (1326). In response to recognizing the predefined numberof successive taps by the single finger on the paragraph in the content,the device selects the paragraph and displays a start-point object andan end-point object at respective ends of the paragraph. For example, inresponse to recognizing a quadruple-tap gesture 566 on a paragraph (FIG.5V), the device selects the paragraph and displays a start-point object526 and an end-point object 528 at respective ends of the paragraph(FIG. 5Z). In some embodiments, in response to recognizing thepredefined number of successive taps by the single finger on theparagraph in the content, the device displays (1328) a command displayarea 530 adjacent to the paragraph. The command display area 530includes an icon for copying selected content (e.g., “Copy” icon 534,FIG. 5Z). The command display area 530 may include one or more of theicons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a stationary (or substantiallystationary) pressing gesture by a single finger at a first location inthe content (1330). For example, a single finger contact that moves lessthan a predefined amount (e.g., 1-2 mm) in a predefined time (e.g.,0.2-0.5 seconds) is a stationary pressing gesture, which is alsoreferred to as a press and hold gesture (e.g., gesture 504, FIG. 5A).The content is displayed at a first magnification. In response torecognizing the stationary pressing gesture by the single finger at afirst location in the content, the device expands a portion 506 of thecontent proximate the first location on the touch screen display to asecond magnification that is greater than the first magnification whilecontinuing to display at least some of the content at the firstmagnification and displays a content magnifier 508 (FIG. 5B). Thecontent magnifier displays the expanded portion 506 of the content, andan insertion marker 510 at a location within the expanded portion of thecontent that corresponds to the first location. In some embodiments, thedevice, detects movement (e.g., 512, FIG. 5B) of the single fingeracross the touch screen display; moves the content magnifier 508 andchanges the expanded portion 506 of the content in accordance with thedetected movement of the single finger; and moves the insertion marker510 to a second location within the expanded portion of the content inaccordance with the detected movement of the single finger (1332).

In some embodiments, the gesture is a tap-and-a-half gesture by a singlefinger (1334). The tap-and-a-half gesture is a single-finger gesturethat comprises a single tap followed immediately (e.g., within apredefined time period such as 0.3-0.5 seconds) by a finger contact 558(FIG. 5AA) that subsequently moves (e.g., movement 560, FIG. 5AA) on thetouch screen display. In response to recognizing the tap-and-a-halfgesture by the single finger, the device selects a portion of thecontent (e.g., selects a word in the content). In some embodiments, theinitially selected portion is in accordance with the location of thesingle tap on the touch screen display (e.g., selecting a word locatedat or proximate to the single tap). In some embodiments, the initiallyselected portion is in accordance with an initial location of the fingercontact (e.g., selecting a word located at or proximate to the initiallocation of the finger contact after the single tap, such as the word“nation” in FIG. 5AA). In response to recognizing the tap-and-a-halfgesture by the single finger, the device updates the selected portion ofthe content in accordance with detected movement of the finger contact558 on the touch screen display (e.g., increasing the selected portion524 as shown in FIGS. 5AA and 5BB). In some embodiments, in response torecognizing the tap-and-a-half gesture by the single finger, the devicedisplays (1336) a start-point object 526 and an end-point object 528 atrespective ends of the updated selected portion of the content 524. Insome embodiments, updating the selected portion of the content inaccordance with detected movement of the finger contact on the touchscreen display includes the device moving one end of the selectedportion of the content in accordance with detected movement of thefinger contact on the touch screen display while maintaining another endof the selected portion of the content at a fixed location in thecontent (1338). For example, the end of the selected portion of thecontent may be increased as the finger contact moves forward throughtext on the display, while the beginning of the selected portion of thecontent remains fixed, as illustrated in FIGS. 5AA and 5BB. Conversely,the start of the selected portion of the content may be increased as thefinger contact moves backward through text on the display, while the endof the selected portion of the content remains fixed. In someembodiments, the start-point object 526 and the end-point object 528 aredisplayed moving in accordance with their respective ends of the updatedselected portion of the content 524. In some embodiments, in response todetecting lift off of the finger contact, the device displays (1340) acommand display area 530 (FIG. 5CC) adjacent to the updated selectedportion of the content 524 (FIG. 5CC). The command display area 530includes an icon for copying selected content (e.g., “Copy” icon 534,FIG. 5CC). The command display area 530 may include one or more of theicons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a single-tap gesture by two-fingers(e.g., 568 and 570, FIG. 5V) on a paragraph in the content (1342). Inresponse to recognizing the single-tap gesture by two-fingers on aparagraph in the content, the device selects the paragraph in thecontent and displays a start-point object and an end-point object atrespective ends of the paragraph, as shown in FIG. 5Z. In someembodiments, the device selects a sentence or other predefined portionof text, rather than a paragraph. In some embodiments, in response torecognizing the single-tap gesture by two-fingers on a paragraph in thecontent, the device displays (1344) a command display area 530 (FIG. 5Z)adjacent to the paragraph. The command display area includes an icon forcopying selected content (e.g., “Copy” icon 534, FIG. 5Z). The commanddisplay area 530 may include one or more of the icons discussed belowwith respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a stationary (or substantiallystationary) pressing gesture by two fingers that includes contact 572(FIG. 5DD) by a first finger at a first location in the content andconcurrent contact 574 (FIG. 5DD) by a second finger at a secondlocation in the content (1346). For example, each of the two fingercontacts moves less than a predefined amount (e.g., 1-3 mm) in apredefined time (e.g., 0.4 seconds). In response to recognizing thestationary pressing gesture by two fingers, the device selects theportion of content located between the first location and the secondlocation and displays a start-point object 526 and an end-point object528 at respective ends of the selected portion of content 524 locatedbetween the first location and the second location (FIG. 5DD).

In some embodiments, after selecting the portion of content locatedbetween the first location and the second location (1347), the device:detects movement of the contact 572 (FIG. 5EE) by the first finger;updates the selected portion of content in accordance with the detectedmovement of the contact by the first finger (FIG. 5EE); detects movementof the contact 574 (FIG. 5FF) by the second finger; updates the selectedportion of content in accordance with the detected movement of thecontact by the second finger (FIG. 5GG); and displays the start-pointobject 526 and the end-point object 528 at respective ends of theupdated selected portion of content 524 (1348) (FIG. 5HH).

In some embodiments, after selecting the portion of content locatedbetween the first location and the second location, the device continues(1350) to detect the stationary pressing gesture by the two fingers(e.g., 576 and 578, FIG. 5II) for at least a predefined time period. Forexample, the device continues to detect the stationary pressing gestureby the two fingers for at least 0.6 additional seconds. In response tocontinuing to detect the stationary pressing gesture by the two fingersfor at least the predefined time period, the device increases theselected portion of content to a sentence that contains the portion ofcontent located between the first location and the second location anddisplays the start-point object and the end-point object at respectiveends of the sentence (FIG. 5JJ).

In some embodiments, after selecting the portion of content locatedbetween the first location and the second location, the device continues(1352) to detect the stationary pressing gesture by the two fingers(e.g., 576 and 578, FIG. 5II) for at least a predefined time period. Forexample, the device continues to detect the stationary pressing gestureby the two fingers for at least 0.6 additional seconds. In response tocontinuing to detect the stationary pressing gesture by the two fingersfor at least the predefined time period, the device increases theselected portion of content to a paragraph that contains the portion ofcontent located between the first location and the second location anddisplays the start-point object and the end-point object at respectiveends of the paragraph (FIG. 5KK).

In some embodiments, after selecting the portion of content locatedbetween the first location and the second location, the device continues(1354) to detect the stationary pressing gesture by the two fingers(e.g., 576 and 578, FIG. 5II) for at least a predefined time period. Forexample, the device continues to detect the stationary pressing gestureby the two fingers for at least 0.6 additional seconds. In response tocontinuing to detect the stationary pressing gesture by the two fingersfor at least the predefined time period, the device selects all of thecontent and displays the start-point object and the end-point object atrespective ends of the content.

In some embodiments, after selecting the portion of content locatedbetween the first location and the second location, the device continues(1356) to detect the stationary pressing gesture by the two fingers(e.g., 576 and 578, FIG. 5II) for a succession (or plurality) ofpredefined time periods. In response to continuing to detect thestationary pressing gesture by the two fingers for each time period inthe succession of predefined time periods, the device increases theselected portion of content and displays the start-point object and theend-point object at respective ends of the increased selected portion ofcontent (e.g., from FIGS. 5II, to 5JJ, to 5KK). The increased selectedportion of content contains the portion of content located between thefirst location and the second location.

In some embodiments, in response to detecting lift off of the twofingers (e.g., 576 and 578), the device displays (1358) a commanddisplay area 530 adjacent to the selected portion of content 524. Thecommand display area 530 includes an icon for copying selected content(e.g., “Copy” icon 530). The command display area 530 may include one ormore of the icons discussed below with respect to FIGS. 6A-6BB.

In some embodiments, the gesture is a margin-initiated selection gestureby a single finger (1360). The margin-initiated selection gesture is asingle-finger gesture that comprises an initial finger contact (e.g., afinger-down event 580, FIG. 5LL) in a margin adjacent to a word (e.g.,the word “dedicated” in FIG. 5LL) in the content followed by movement ofthe finger contact (e.g., movement 582 of the finger contact 580 (FIG.5LL) across the word or a portion thereof) to a location in the content.In response to recognizing the margin-initiated selection gesture by thesingle finger, the device selects a portion of the content, wherein theword begins or ends the selected portion of content (e.g., the word“dedicated” in FIG. 5LL begins the selected portion), and updates theselected portion of the content in accordance with movement 582 of thefinger contact to the location in the content. In some embodiments, inresponse to recognizing the margin-initiated selection gesture by thesingle finger, the device displays (1362) a start-point object and anend-point object at respective ends of the updated selected portion ofthe content (FIG. 5NN). In some embodiments, the device displays thestart-point object and the end-point object during updating, too (FIG.5MM). In some embodiments, in response to detecting lift off of thefinger contact, the device displays (1364) a command display area 530adjacent to the updated selected portion of the content 524 (not shown).The command display area 530 includes an icon for copying selectedcontent (e.g., “Copy” icon 534). The command display area 530 mayinclude one or more of the icons discussed below with respect to FIGS.6A-6BB.

In some embodiments where the content is configured to scrollvertically, but not horizontally, on the touch screen display, thegesture is a swipe-initiated selection gesture by a single finger(1366). The swipe-initiated selection gesture is a single-finger gesturethat comprises: (1) a finger contact (e.g., a finger-down event 584,FIG. 5OO) initially at a first location (e.g., the word “brought” inFIG. 5OO) in the content, wherein the finger contact is initially movingin a direction within a predefined angle of a horizontal axis on thetouch screen display (e.g., within 5°-30° of the horizontal axis), and(2) movement of the finger contact to a second location in the content(e.g., movement 586, FIG. 5OO). In some embodiments, the finger contact584 initially moves a predefined number of units of movement prior to atimeout period expiration (e.g., 3.2 mm in 1.5 seconds). In someembodiments, the finger contact moves with an initial speed above apredefined threshold initial speed (e.g., 2 mm/sec). In response torecognizing the swipe-initiated selection gesture by the single finger,the device selects a portion of the content, wherein the first locationbegins or ends the selected portion of content (e.g., the word “brought”in FIG. 5OO begins the selected portion), and updates the selectedportion 524 of the content in accordance with the movement of the fingercontact 584 to the second location in the content (FIG. 5PP). In someembodiments, the device displays (1368) a start-point object 526 and anend-point object 528 at respective ends of the updated selected portion524 of the content (FIG. 5QQ). In some embodiments, the device displaysthe start-point object and the end-point object during updating, too(FIG. 5PP). In some embodiments, in response to detecting lift off ofthe finger contact, the device displays (1370) a command display area530 adjacent to the updated selected portion 524 of the content (notshown). The command display area 530 includes an icon for copyingselected content (e.g., “Copy” icon 534). The command display area 530may include one or more of the icons discussed below with respect toFIGS. 6A-6BB.

FIGS. 14A-14D are flow diagrams illustrating a method of using a commanddisplay area for selected content in accordance with some embodiments.The method 1400 is performed at a multifunction device (e.g., 300, FIG.3) with a touch screen display. In some embodiments, the method isperformed at a portable multifunction device with a touch screen display(e.g., portable multifunction device 100). Some operations in method1400 may be combined and/or the order of some operations may be changed.

As described below, the method 1400 provides an intuitive way to use acommand display area to interact with selected content at amultifunction device with a touch screen display. The method efficientlydisplays and activates commands with respect to selected content. Themethod also makes the command display area appear when needed anddisappear when no longer needed. The method reduces the cognitive burdenon a user when interacting with selected content, thereby creating amore efficient human-machine interface. For battery-operated devices,enabling a user to interact with selected content faster and moreefficiently conserves power and increases the time between batterycharges.

The device displays (1402) content on the touch screen display (e.g.,editable content 502 or read-only content 538). The displayed contentincludes selected content 524 (e.g., content selected in response todetecting one or more touch gestures by a user on the touch screendisplay).

The device visually distinguishes (1404) the selected content 524 fromdisplayed content that is not selected (e.g., by shading and/or coloringthe background of the selected content).

In some embodiments, the device displays (1406) a start-point object 526and an end-point object 528 at respective ends of the selected content524.

The device displays (1408) a command display area 530 adjacent to theselected content 524 on the touch screen display. The command displayarea 530 includes one or more command icons. In some embodiments, iconsin the command display area 530 are displayed in a single row (1410),which makes it easier to select a respective icon with a finger.

The device detects (1412) activation of a command icon in the commanddisplay area 530 (e.g., by a finger gesture such as a tap gesture on thecommand icon or by detecting a spoken word that corresponds to thecommand icon (voice activation)).

In response to detecting activation of the command icon in the commanddisplay area, the device performs (1414) a corresponding action withrespect to the selected content.

In some embodiments, the command display area 530 includes an icon forcopying selected content (e.g., “Copy” icon 534, FIG. 6A). The devicedetects (1416) activation of the icon for copying selected content(e.g., by voice or by a finger gesture such as a tap gesture on “Copy”icon). In response to detecting activation of the icon for copyingselected content, the device copies the selected content (e.g., to aclipboard or memory location in the multifunction device).

In some embodiments, the command display area includes an icon forcutting selected content (e.g., “Cut” icon 532, FIG. 6A). The devicedetects (1418) activation of the icon for cutting selected content(e.g., by voice or by a finger gesture such as a tap gesture on “Cut”icon 532, FIG. 6A). In response to detecting activation of the icon forcutting selected content, the device cuts the selected content 524 (FIG.6B).

In some embodiments, the command display area includes an icon forpasting previously cut or copied content (e.g., “Paste” icon 536, FIG.6C). The device detects (1420) activation of the icon for pastingpreviously cut or copied content (e.g., by voice or by a finger gesturesuch as a tap gesture on “Paste” icon 536, FIG. 6C). In response todetecting activation of the icon for pasting previously cut or copiedcontent, the device replaces the selected content with previously cut orcopied content. For example, in response to activating the “Paste” iconin FIG. 6C, the device replaces the selected content “endure” (FIG. 6C)with the previously copied content “nation” (FIG. 6D). Alternatively, ifno content is selected, the device pastes the previously copied contentat the position of the insertion marker 510 (e.g., as illustrated inFIGS. 6E and 6F for pasting into a note; as illustrated in FIGS. 6G and6H for pasting into an instant message; and as illustrated in FIGS. 6Iand 6J for pasting into an email).

In some embodiments, the command display area includes an icon forundoing a previous action (e.g., “Undo” icon 604, FIG. 6N). The devicedetects (1422) activation of the icon for undoing a previous action(e.g., by voice or by a finger gesture such as a tap gesture on “Undo”icon 604, FIG. 6N). In response to detecting activation of the icon forundoing a previous action, the device undoes a previous action performedby the device.

For example, suppose the word “iPhone” in FIG. 6L was mistakenly cut inFIG. 6M. In some embodiments, the cutting action may be undone byactivating the “Undo” icon 604 in FIG. 6N, thereby restoring the word“iPhone” in FIG. 6P. Alternatively, in some embodiments, in response todetecting a shaking gesture (e.g., with accelerometers 168), the deviceundoes the previous cutting action and restores the word “iPhone” inFIG. 6P. Alternatively, in some embodiments, in response to detecting ashaking gesture (e.g., with accelerometers 168), the device displays anundo icon 606, FIG. 6O. The device undoes the previous cutting actionand restores the word “iPhone” in FIG. 6P in response to a fingergesture (e.g., a tap gesture) on the undo icon 606.

In some embodiments, the command display area 530 includes an icon fordisplaying additional command options (e.g., “ . . . ” icon 602, FIG.6K). The device detects (1424) activation of the icon for displayingadditional command options (e.g., by voice or by a finger gesture suchas a tap gesture on “ . . . ” icon 602, FIG. 6K). In response todetecting activation of the icon for displaying additional commandoptions, the device displays additional command icons (e.g., undo 606and redo 608 in FIG. 6O). Activation of a respective additional commandicon (e.g., by voice or by a finger gesture such as a tap gesture on therespective additional command icon, not shown) initiates a correspondingaction with respect to the selected content. The additional commands maybe one or more of the commands that can alternatively be displayed aspart of the command display area 530, such as Map it, Call it, etc., asdescribed herein.

In some embodiments, the command display arca 530 includes an icon forproviding information about a physical location in selected content(e.g., “Map it” icon 614, FIG. 6Q). The device detects (1426) activationof the icon for providing information about a physical location in theselected content (e.g., by voice or by a finger gesture such as a tapgesture on “Map it” icon 614, FIG. 6Q). In response to detectingactivation of the icon for providing information about a physicallocation in the selected content, the device displays information abouta physical location in the selected content (e.g., showing the physicallocation on a map in a mapping application, FIG. 6R). In someembodiments, the device may recognize the physical location (e.g., anaddress) in the selected content (e.g., selected content 612, FIG. 6Q).In some embodiments, the device may recognize the physical location(e.g., an address) in the selected content, even if the selected contentincludes additional information besides the address. For example, thedevice may recognize the address in selected content 610 (FIG. 6K), eventhough selected content 610 includes other information besides theaddress.

In some embodiments, the command display area 530 includes an icon forcalling a phone number in the selected content (e.g., “Call it” icon616, FIG. 6S). The device detects (1428) activation of the icon forcalling a phone number in the selected content (e.g., by voice or by afinger gesture such as a tap gesture on “Call it” icon 616, FIG. 6S). Inresponse to detecting activation of the icon for calling a phone numberin the selected content, the device calls a phone number in the selectedcontent (FIG. 6T). In some embodiments, the device may recognize thephone number in the selected content (e.g., selected content 622, FIG.6S). In some embodiments, the device may recognize the phone number inthe selected content, even if the selected content includes additionalinformation besides the phone number. For example, the device mayrecognize the phone number in selected content 610 (FIG. 6K), eventhough selected content 610 includes other information besides the phonenumber.

In some embodiments, the command display area 530 includes an icon forinitiating an instant message using information in selected content(e.g., “Text message” icon 618, FIG. 6S). The device detects (1430)activation of the icon for initiating an instant message usinginformation in selected content (e.g., by voice or by a finger gesturesuch as a tap gesture on “Text message” icon 618, FIG. 6S). In responseto detecting activation of the icon for initiating an instant messageusing information in selected content, the device initiates an instantmessage using information in the selected content (e.g., opening aninstant messaging application and presenting an instant message inputarea for an instant message to an address or phone number (for atelephony-based instant message) in the selected content, FIG. 6U).

In some embodiments, the command display area 530 includes an icon forinitiating an email message using an email address in selected content(e.g., “E-mail” icon 624, FIG. 6W). The device detects (1432) activationof the icon for initiating an email message using an email address inselected content (e.g., by voice or by a finger gesture such as a tapgesture on “Email” icon 624, FIG. 6W). In response to detectingactivation of the icon for initiating an email message using an emailaddress in selected content, the device initiates an email message usingan email address in the selected content (e.g., opening an emailapplication and presenting an email input area for an email message toan email address in the selected content (FIG. 6X). In some embodiments,the device may recognize the email address in the selected content(e.g., selected content 630, FIG. 6W). In some embodiments, the devicemay recognize the email address in the selected content, even if theselected content includes additional information besides the emailaddress. For example, the device may recognize the email address inselected content 610 (FIG. 6K), even though selected content 610includes other information besides the email address.

In some embodiments, the command display area 530 includes an icon forinitiating a slide show using images in selected content. The devicedetects (1434) activation of the icon for initiating a slide show usingimages in selected content (e.g., by voice or by a finger gesture suchas a tap gesture on a “Slide show” icon). In response to detectingactivation of the icon for initiating a slide show using images inselected content, the device initiates a slide show using images in theselected content.

In some embodiments, the command display area 530 includes an icon fordisplaying a webpage using a web address in selected content (e.g.,“Browse” icon 626, FIG. 6Y). The device detects (1436) activation of theicon for displaying a webpage using a web address in selected content(e.g., by voice or by a finger gesture such as a tap gesture on “Browse”icon 626, FIG. 6Y). In response to detecting activation of the icon fordisplaying a webpage using a web address in selected content, the devicedisplays a webpage using a web address in the selected content (e.g., ina browser application, FIG. 6Z). In some embodiments, the device mayrecognize the web address in the selected content (e.g., selectedcontent 628, FIG. 6Y). In some embodiments, the device may recognize theweb address in the selected content, even if the selected contentincludes additional information besides the email address. For example,the device may recognize the web address in selected content 610 (FIG.6K), even though selected content 610 includes other information besidesthe web address.

In some embodiments, the command display area 530 includes an icon forinitiating a search using information in selected content (e.g.,“Search” icon 632, FIG. 6AA). The device detects (1438) activation ofthe icon for initiating a search using information in selected content(e.g., by voice or by a finger gesture such as a tap gesture on “Search”icon 632, FIG. 6AA). In response to detecting activation of the icon forinitiating a search using information in selected content, the deviceinitiates a search using information in the selected content (e.g.,using the selected content or a portion thereof as search input for aweb search, FIG. 6BB). In some embodiments, the search includes anInternet search (e.g., a Google search, FIG. 6BB). In some embodiments,the search includes a search of information on the device (e.g., aSpotlight search).

In some embodiments, the command display area includes an icon foradding information to a contacts application (e.g., “Add to Contacts”icon 620, FIG. 6S). The device detects (1440) activation of the icon foradding information to a contacts application (e.g., by voice or by afinger gesture such as a tap gesture on “Add to Contacts” icon 620, FIG.6S). In response to detecting activation of the icon for addinginformation to a contacts application, the device adds information inthe selected content to a contacts application (FIG. 6V).

In some embodiments, the command display area moves (1442) on the touchscreen display as the selected content moves.

In some embodiments, icons in the command display area include (1444) atleast one command that is user configurable. For example, a user may beable to add a “Select All” icon to the Cut, Copy, and Paste icons in thecommand display area 530 via a settings menu. Similarly, a user may beable to add a “Map it,” “Search,” or other icon to the command displayarea 530 via a settings menu.

In some embodiments, icons in the command display area include (1446) atleast one command that is context sensitive. For example, the cut andpaste icons are not displayed for read-only content. Similarly, thepaste icon is not displayed when an image has been copied and the inputfield requires text input.

In some embodiments, the content is displayed within a first application(e.g., email 140), and icons in the command display area include (1448)at least one command to invoke a second application (e.g., browser 147,map 154, or contacts 137) coupled to the first application via apredefined application programming interface.

In some embodiments, the device detects (1450, FIG. 14A) an input by auser prior to detecting activation of the command icon (e.g., a fingergesture such as a swipe gesture 634 on the content, FIG. 6CC). Inresponse to detecting the input by the user, the device scrolls thecontent on the touch screen display and ceases to display the commanddisplay area (FIG. 6DD). In some embodiments, the device stops thescrolling of the content. In response to the scrolling of the contentstopping, the device redisplays (1452) the command display area adjacentto the selected content on the touch screen display (FIG. 6EE). In otherwords, the command display area 530 disappears during scrolling andreappears when the scrolling stops, as illustrated in FIGS. 6CC-6EE.This gives the viewer an unobstructed view of the content duringscrolling. The command display area 530 is typically displayed adjacentto the selected content, such as just above or just below the selectedcontent. In some cases, the command display area overlaps or isdisplayed within the selected content.

In some embodiments, the device detects an input by a user prior todetecting activation of the command icon. For example, the devicedetects a finger gesture such as a tap gesture 636 (FIG. 6FF) at alocation on the touch screen display away from the selected content 524(e.g., at least a predefined minimum distance away from the selectedcontent, such as 3.2 mm). In response to detecting the input by theuser, the device deselects the selected content and ceases to displaythe command display area (1454) (FIG. 6GG).

In some embodiments, in response to detecting activation of the commandicon (e.g., by a finger tap gesture 638 on “Copy” icon 534, FIG. 6HH) inthe command display area 530, the device ceases (1456, FIG. 14D) todisplay the command display area (FIG. 6II).

In some embodiments, the device detects typing input by a user prior todetecting activation of the command icon. For example, the devicedetects finger gesture 642 on the “b” key in keyboard 640 (FIG. 6JJ). Inresponse to detecting the typing input by the user, the device replacesthe selected content with characters that correspond to the typing inputand ceases to display the command display area (1458, FIG. 14A) (FIG.6KK).

In some embodiments, the device detects a finger gesture by a user on arespective end of the selected content (i.e., the beginning or the endof the selected content) prior to detecting activation of the commandicon (e.g., a finger tap gesture on the beginning or end of the selectedcontent). In response to detecting the finger gesture by the user on therespective end of the selected content, the device ceases to display thecommand display area; displays an insertion marker at the respective endof the selected content; and deselects the selected content (1460). Forexample, in response to detecting finger gesture 644 (FIG. 6LL) by theuser on the end of the selected content 524, the device ceases todisplay the command display area 530; displays an insertion marker 510at the end of the selected content; and deselects the selected content(FIG. 6MM).

In some embodiments, the device detects a finger gesture by a user onthe start-point object prior to detecting activation of the command icon(e.g., a finger tap gesture on the start-point object). In response todetecting the finger gesture by the user on the start-point object, thedevice ceases to display the command display area, the start-pointobject, and the end-point object; displays an insertion marker at thestart of the selected content; and deselects the selected content(1462).

In some embodiments, the device detects a finger gesture by a user onthe end-point object prior to detecting activation of the command icon(e.g., a finger tap gesture 644 (FIG. 6LL) on the end-point object 528).In response to detecting the finger gesture by the user on the end-pointobject, the device ceases to display the command display area, thestart-point object, and the end-point object; displays an insertionmarker 510 at the end of the selected content; and deselects theselected content (1464) (FIG. 6MM).

In some embodiments, the device detects a finger gesture by a user onthe selected content prior to detecting activation of the command icon(e.g., a finger tap gesture 646 (FIG. 6NN) in the middle of the selectedcontent). In response to detecting the finger gesture by the user on theselected content, the device ceases (1466) to display the commanddisplay area 530. In some embodiments, the device detects a fingergesture by a user on the selected content after ceasing to display thecommand display area and prior to detecting activation of the commandicon (e.g., another finger tap gesture 648 (FIG. 6OO) in the middle ofthe selected content). In response to detecting the finger gesture bythe user on the selected content, the device redisplays (1468) thecommand display area 530 adjacent to the selected content (FIG. 6NN). Inother words, the user may toggle display of the command display area onand off by tapping within the selected content 524.

FIGS. 15A-15C are flow diagrams illustrating a method of positioning acommand display area in accordance with some embodiments. The method1500 is performed at a multifunction device (e.g., 300, FIG. 3) with atouch screen display. In some embodiments, the method is performed at aportable multifunction device with a touch screen display (e.g.,portable multifunction device 100). Some operations in method 1500 maybe combined and/or the order of some operations may be changed.

As described below, the method 1500 provides an efficient way toposition a command display area so that the command display area doesnot obscure other important user interface elements on a touch screendisplay. The method reduces the cognitive burden on a user when usingthe command display area, thereby creating a more efficienthuman-machine interface. For battery-operated devices, enabling a userto use the command display area faster and more efficiently conservespower and increases the time between battery charges.

The device displays (1502) a user interface element that containscontent 650 (FIG. 6PP). The content includes selected content 524 (e.g.,content selected in response to detecting one or more touch gestures bya user on the touch screen display).

The device visually distinguishes (1504) the selected content 524 fromdisplayed content that is not selected (e.g., by shading and/or coloringthe background of the selected content).

The device displays (1506) a command display area 530 element thatincludes one or more command icons. For purposes of this discussion, thecommand display area 530 is one of a number of UI elements, each ofwhich has a respective display priority, as explained in more detailbelow. The command display area 530 element is displayed in front ofother elements in the user interface, including the user interfaceelement displaying content 650. Activation of a command icon initiatesperformance of a corresponding action with respect to the selectedcontent 524.

The device displays (1508, FIG. 15C) one or more predefined priorityelements in front of which the command display area element cannot bedisplayed (e.g., a keyboard 640, FIG. 6PP)

In some embodiments, displaying the command display area 530 elementcomprises displaying (1510) the command display area element in an areaabove and adjacent to the selected content when: the area above andadjacent to the selected content is large enough to display the commanddisplay area element, and the area above and adjacent to the selectedcontent does not include any predefined priority elements (e.g., FIGS.6PP and 6TT).

In some embodiments, the device displays (1512) the command display areaelement in an area below and adjacent to the selected content when: thearea above and adjacent to the selected content is not large enough todisplay the command display area element or includes predefined priorityelements; the area below and adjacent to the selected content is largeenough to display the command display area element, and the area belowand adjacent to the selected content does not include any predefinedpriority elements (e.g., FIGS. 6RR and 6UU).

In some embodiments, the device displays (1514) the command display areaelement in an area within the selected content when: the area above andadjacent to the selected content is not large enough to display thecommand display area element or includes predefined priority elements;and the command display area is small enough to fit within the selectedcontent (e.g., FIGS. 6QQ and 6SS).

In some embodiments, the device displays (1516) the command display areaelement in front of and within the selected content when: the area aboveand adjacent to the selected content is not large enough to display thecommand display area element or includes predefined priority elements;the area below and adjacent to the selected content is not large enoughto display the command display area element or includes predefinedpriority elements; and the command display area is small enough to fitwithin the selected content (e.g., FIG. 6QQ).

In some embodiments, the device displays (1518) the command display areaelement in an area below and adjacent to the selected content when: thearea above and adjacent to the selected content is not large enough todisplay the command display area element or includes predefined priorityelements; the command display area is too large to fit within theselected content; the arca below and adjacent to the selected content islarge enough to display the command display area element; and the areabelow and adjacent to the selected content does not include anypredefined priority elements (e.g., FIG. 6UU).

In some embodiments, the device suppresses (1520) display of the commanddisplay area element when: the arca above and adjacent to the selectedcontent is not large enough to display the command display area elementor includes predefined priority elements; the area below and adjacent tothe selected content is not large enough to display the command displayarea element or includes predefined priority elements; and the commanddisplay area is too large to fit within the selected content.

In some embodiments, the device displays (1524) the command display areaelement in an area below and adjacent to the selected content when: thearea below and adjacent to the selected content is large enough todisplay the command display area element, and the area below andadjacent to the selected content does not include any predefinedpriority elements (e.g., FIGS. 6RR and 6UU).

In some embodiments, the device displays (1526) the command display areaelement in front of and within the selected content when: the commanddisplay area is small enough to fit within the selected content (e.g.,FIGS. 6QQ and 6SS)

In some embodiments, the device displays (1528) the command display area530 element at a first position relative to the selected content 524(e.g., just above the selected content, FIG. 6PP). The device moves thecontent on the touch screen display, including moving the selectedcontent (e.g., scrolling the content in response to a finger gesture).The device ceases to display the command display area element whilemoving the content. When the content stops moving, the device redisplaysthe command display area 530 element at a second position relative tothe selected content. The second position relative to the selectedcontent is different from the first position relative to the selectedcontent (e.g., just below the selected content, FIG. 6RR, or within theselected content, FIG. 6QQ).

FIGS. 16A-16E are flow diagrams illustrating a method of updating arespective end of selected content with a content magnifier inaccordance with some embodiments. The method 1600 is performed at amultifunction device (e.g., 300, FIG. 3) with a touch screen display. Insome embodiments, the method is performed at a portable multifunctiondevice with a touch screen display (e.g., portable multifunction device100). Some operations in method 1600 may be combined and/or the order ofsome operations may be changed.

As described below, the method 1600 provides an intuitive way to adjusta respective end of selected content at a multifunction device with atouch screen display. The method reduces the cognitive burden on a userwhen selecting content, thereby creating a more efficient human-machineinterface. For battery-operated devices, enabling a user to performcontent selection faster and more efficiently conserves power andincreases the time between battery charges.

The device displays (1602) content on the touch screen display at afirst magnification (e.g., editable content 502 or read-only content538). The content includes selected content 524 (e.g., content selectedin response to detecting one or more touch gestures by a user on thetouch screen display). In some embodiments, the content comprises (1604)text (e.g., plain text, unstructured text, formatted text, or text in aweb page).

In some embodiments, the device displays (1606) a start-point object 526and an end-point object 528 at respective ends of the selected content524 (FIG. 7A).

The device detects (1608) a finger contact on a respective end of theselected content (which end may include a start-point object orend-point object or a hidden hit region of one of these objects). Therespective end is either the beginning or the end of the selectedcontent.

The device displays (1610) a content magnifier 702 adjacent to therespective end of the selected content. The content magnifier displays:an expanded portion 708 of the content proximate to the respective endof the selected content at a second magnification that is greater thanthe first magnification, and a boundary marker 704 that denotes acurrent position of the respective end of the selected content.

In some embodiments, the content magnifier 702 has a predefined shape(e.g., a rectangle or a rectangle with rounded corners, as shown in FIG.7A) (1612). In some embodiments, displaying the content magnifieradjacent to the respective end of the selected content comprisesdisplaying (1614) the content magnifier immediately above and centeredover (or substantially centered over) the respective end of the selectedcontent. In some embodiments, the content magnifier is initiallydisplayed in response to detecting the finger contact 706 on therespective end of the selected content (or contact on a correspondingstart-point object or end-point object or a hidden hit region of one ofthese objects) (1616).

In some embodiments, the expanded portion 708 of the content displayedby the content magnifier includes (1618) selected content adjacent tothe respective end (e.g., “on so c” in FIG. 7A) and unselected contentadjacent to the respective end (e.g., “onceived” in FIG. 7A). In someembodiments, the boundary marker 704 is displayed between the selectedcontent adjacent to the respective end and the unselected contentadjacent to the respective end (1620).

In some embodiments, the content magnifier 708 displays (1622) anexpanded portion of a single line of text in the content (FIG. 7A). Insome embodiments, the content magnifier that assists in positioning theinsertion marker (e.g., magnifier 508, FIG. 5B) displays portions ofthree or more lines of text, while the content magnifier that assists insetting an end point for selected content (e.g., magnifier 702, FIG. 7A)only displays an expanded portion of a single line of text that includesthe respective end point.

The device detects (1624) movement of the finger contact 706 across thetouch screen display.

The device updates (1626) the respective end of the selected content andthe displayed expanded portion of the content proximate to therespective end at the second magnification in accordance with themovement of the finger contact.

In some embodiments, the respective end of the selected content isupdated continuously (e.g., the end appears to move within and betweencharacters) (1628).

In some embodiments, the respective end of the selected content isupdated character-by-character (e.g., letter-by-letter) (1630).

In some embodiments, the respective end of the selected content isupdated word-by-word (1632). In some embodiments, with word-by-wordupdating, when a location of the finger contact corresponds to aposition within a current word (e.g., the position of a character in themiddle of the current word), the respective end of the selected contentadvances to the end of the current word.

In some embodiments, the respective end of the selected content isupdated word-by-word when the movement of the finger contact exceeds apredefined value in a predefined time interval (e.g., an average speed)(1634).

In some embodiments, the respective end of the selected content isupdated character-by-character when the movement of the finger contactis below a predefined value in a predefined time interval, and therespective end of the selected content is updated word-by-word when themovement of the finger contact is above the predefined value in apredefined time interval (1636).

The device moves (1638) the content magnifier 702 and the boundarymarker 704 in accordance with the movement of the finger contact 706. Insome embodiments, the boundary marker maintains (1640) a fixed positionwithin the content magnifier.

In some embodiments, the device moves the start-point object 526 inaccordance with the movement of the finger contact when the respectiveend of the selected content is the beginning of the selected content(not shown), and the device moves the end-point object 528 in accordancewith the movement of the finger contact when the respective end of theselected content is the end of the selected content (1642).

In some embodiments, the content magnifier displays a sequence of words,including a respective word at the center of the content magnifier(1643). The device updates the respective word at the center of thecontent magnifier (e.g., the word “conceived” in FIG. 7A) in accordancewith the movement of the finger contact. The device moves the boundarymarker within the content magnifier by moving the boundary marker withineach respective word at the center of the content magnifier for aplurality of successive words at the center of the content magnifier(1644).

In some embodiments, the content magnifier displays a sequence of words,including a respective word at the center of the content magnifier. Thedevice updates the respective word at the center of the contentmagnifier in accordance with the movement of the finger contact. Thedevice moves the boundary marker within the content magnifier by movingthe boundary marker character-by-character within each respective wordat the center of the content magnifier for a plurality of successivewords at the center of the content magnifier (1646).

In some embodiments, the content magnifier displays a sequence of words,including a respective word at the center of the content magnifier. Thedevice updates the respective word at the center of the contentmagnifier in accordance with the movement of the finger contact. Thedevice moves the boundary marker within the content magnifier by jumpingthe boundary marker to an end of each respective word at the center ofthe content magnifier for a plurality of successive words at the centerof the content magnifier (1648). In other words, the device displaysword-by-word selection within the content magnifier.

In some embodiments, the boundary marker 704 remains (1650) centered (orsubstantially centered) within the content magnifier 702.

In some embodiments, moving the content magnifier in accordance with themovement of the finger contact comprises line-by-line movement of thecontent magnifier 702 (1652). Line-by-line movement may snap themagnifier to a line of text containing the updated respective end of theselected content. In some embodiments, the content magnifier thatassists in positioning the insertion marker (e.g., magnifier 508, FIG.5B) moves continuously on the touch screen display, while the contentmagnifier that assists in setting an end point for selected content(e.g., magnifier 702, FIG. 7A) moves line-by-line. In some embodiments,both types of magnifiers move continuously. In some embodiments, bothtypes of magnifiers move line-by-line.

In some embodiments, the device detects lift off of the finger contactfrom the touch screen display. In response to detecting lift off of thefinger contact from the touch screen display, the device terminatesdisplay of the content magnifier (1654).

In some embodiments, the device detects lift off of the finger contactfrom the touch screen display when a location of the finger contactcorresponds to a current position within a current word. In response todetecting lift off of the finger contact from the touch screen displaywhen the location of the finger contact corresponds to the currentposition within the current word, the device terminates display of thecontent magnifier and places the respective end of the selected contentat the current position within the current word (1656). For example, inresponse to detecting lift off of the finger contact 706 (FIG. 7A) fromthe touch screen display when the location of the finger contactcorresponds to the current position within the current word (e.g.,between the letter “c” and the letter “o” in “conceived”, FIG. 7A), thedevice terminates display of the content magnifier 702 and places therespective end of the selected content 524 at the current positionwithin the current word (e.g., between the letter “c” and the letter “o”in “conceived”, FIG. 7B).

In some embodiments, the device detects lift off of the finger contactfrom the touch screen display when a location of the finger contactcorresponds to a current position within a current word. In response todetecting lift off of the finger contact from the touch screen displaywhen the location of the finger contact corresponds to the currentposition within the current word, the device terminates display of thecontent magnifier and places the respective end of the selected contentat a respective end of the current word (1658). For example, the devicemay place the respective end of the selected content: (1) at the end ofthe current word for both the beginning and the end of the selectedcontent; (2) at the end of the current word when the respective end ofthe selected content is the end of the selected content and at thebeginning of the current word when the respective end of the selectedcontent is the beginning of the selected content); or (3) at therespective end of the current word in accordance with the direction ofmovement of the finger contact just prior to detecting lift off. In someembodiments, in response to detecting lift off of the finger contactfrom the touch screen display, the device displays (1660) an animationof the content magnifier moving to a position that corresponds to therespective end of the current word prior to terminating display of thecontent magnifier (e.g., a position immediately above and centered overthe respective end of the current word). For example, in response todetecting lift off of the finger contact 706 (FIG. 7A) from the touchscreen display when the location of the finger contact corresponds tothe current position within the current word (e.g., between the letter“c” and the letter “o” in “conceived”, FIG. 7A), the device terminatesdisplay of the content magnifier 702 and places the end of the selectedcontent 524 at the end of the current word (e.g., at the end of“conceived,” FIG. 7E).

In some embodiments, the device detects lift off of the finger contactfrom the touch screen display when a location of the finger contactcorresponds to a current position within a current word (e.g., betweenthe letter “c” and the letter “o” in “conceived”, FIG. 7A). In responseto detecting lift off of the finger contact from the touch screendisplay when the location of the finger contact corresponds to thecurrent position within the current word, the device: terminates displayof the content magnifier; places the respective end of the selectedcontent at the current position within the current word (e.g., betweenthe letter “c” and the letter “o” in “conceived”, FIG. 7B) when themovement of the finger contact is less than a predefined value in apredefined time interval (at lift off or in a time period just prior todetecting lift off, for example less than 1.6 mm within 0.5 seconds ofdetecting lift off); and places the respective end of the selectedcontent at a respective end of the current word (e.g., at the end of“conceived,” FIG. 7E) when the movement of the finger contact is greaterthan the predefined value in the predefined time interval (1662). Forexample, the device may place the respective end of the selectedcontent: (1) at the end of the current word for both the beginning andthe end of the selected content; (2) at the end of the current word whenthe respective end of the selected content is the end of the selectedcontent and at the beginning of the current word when the respective endof the selected content is the beginning of the selected content); or(3) at the respective end of the current word in accordance with thedirection of movement of the finger contact just prior to detecting liftoff. In some embodiments, in response to detecting lift off of thefinger contact from the touch screen display, the device displays (1664)an animation of the content magnifier moving to a position thatcorresponds to the respective end of the current word prior toterminating display of the content magnifier when the movement of thefinger contact is greater than the predefined value in the predefinedtime interval. For example, in response to detecting lift off of thefinger contact 706 between the letter “c” and the letter “o” in“conceived” (FIG. 7A), the device displays an animation of the contentmagnifier 702 moving (e.g., as illustrated in FIGS. 7C and 7D) to aposition that corresponds to the respective end of the current wordprior to terminating display of the content magnifier (e.g., at the endof “conceived,” FIG. 7E).

Once the content is selected, the device may, in response to user input,perform operations on the selected content such as those described abovewith respect to FIGS. 6A-6BB.

FIGS. 17A-17B are flow diagrams illustrating a method of selectingcontent in structured electronic documents in accordance with someembodiments. The method 1700 is performed at a multifunction device(e.g., 300, FIG. 3) with a touch screen display. In some embodiments,the method is performed at a portable multifunction device with a touchscreen display (e.g., portable multifunction device 100). Someoperations in method 1700 may be combined and/or the order of someoperations may be changed.

As described below, the method 1700 provides an intuitive way to selectblocks of content in structured electronic documents (e.g., web pages)at a multifunction device with a touch screen display. The methodreduces the cognitive burden on a user when selecting content, therebycreating a more efficient human-machine interface. For battery-operateddevices, enabling a user to perform content selection faster and moreefficiently conserves power and increases the time between batterycharges.

The use of finger gestures to navigate in structured electronicdocuments is described in United States Patent Application 20080094368,which is incorporated by reference herein in its entirety. As describedtherein, in some embodiments, the device analyzes the render tree of aweb page to determine the blocks (or boxes of content) in the web page.In some embodiments, a block corresponds to a render node that is: areplaced inline; a block; an inline block; or an inline table. In someembodiments, the plurality of boxes in a web page are defined by a stylesheet in (or referenced by) the web page, such as a cascading stylesheet. Finger gestures (e.g., like double-tap gesture 802, FIG. 8A) areused to enlarge and center boxes of content in the web page on the touchscreen display (e.g., enlarging the box of content titled “Lost inTranslation: A U.S. Gift to Russia” from being nearly unreadable in FIG.8A to being easily readable in FIG. 8B).

The device displays (1702) at least a portion of a structured electronicdocument on the touch screen display. The structured electronic documentcomprises a plurality of boxes of content. In some embodiments, thestructured electronic document is a web page (1704). In someembodiments, the structured electronic document is an HTML or XMLdocument (1706).

The device detects (1708) a finger gesture on a first box of content inthe plurality of boxes of content (e.g., gesture 804, FIG. 8B or gesture814, FIG. 8F). In some embodiments, the finger gesture is a press andhold gesture (1710). In some embodiments, the finger gesture is atap-and-a-half gesture (1712). In some embodiments, the structuredelectronic document has an associated render tree with a plurality ofnodes and determining the first box at the location of the fingergesture comprises: traversing down the render tree to determine a firstnode in the plurality of nodes that corresponds to the detected locationof the finger gesture; traversing up the render tree from the first nodeto a closest parent node that contains a logical grouping of content;and identifying content corresponding to the closest parent node as thefirst box of content. In some embodiments, the logical grouping ofcontent comprises a paragraph, an image, a plugin object, or a table. Insome embodiments, the closest parent node is a replaced inline, a block,an inline block, or an inline table.

In response to detecting the finger gesture on the first box of contentin the plurality of boxes of content, the device selects the first boxof content and visually distinguishes the selected first box of content806 from content on the touch screen display that is not selected (1714)(e.g., as shown in FIGS. 8C and 8G). In some embodiments, the first boxof content is selected for copying. In some embodiments, the first boxof content is selected for use as input to another operation, such ascutting, mapping, searching, or one of the operations described abovewith respect to FIGS. 6A-6BB.

In some embodiments, visually distinguishing the selected first box ofcontent comprises displaying (1716) the first box of content 806 with adifferent background shading from content on the touch screen displaythat is not selected (FIGS. 8C and 8G). In some embodiments, visuallydistinguishing the selected first box of content comprises displaying(1718) the first box of content with a different background color fromcontent on the touch screen display that is not selected. In someembodiments, visually distinguishing the selected first box of contentcomprises displaying (1720) a border around the first box of content. Insome embodiments, visually distinguishing the selected first box ofcontent comprises displaying one or more selection handles for the firstbox of content (e.g., handles 808, FIGS. 8C and 8G)(1722).

In some embodiments, in response to detecting the finger gesture on thefirst box of content in the plurality of boxes of content, the devicedisplays (1724) a command display area 530 for selected content (FIGS.8C and 8G).

The device detects (1726) a finger contact (e.g., contact 810, FIG. 8Cor contact 816, FIG. 8G) on the selected first box of content. In someembodiments, detecting the finger contact on the selected first box ofcontent comprises detecting (1728) the finger contact on a selectionhandle 808 for the selected first box of content (FIGS. 8C and 8G). Insome embodiments, the finger contact is part of the finger gesture(e.g., when the finger gesture is a “press and hold” gesture)(1730).

The device detects (1732) movement (e.g., movement 812, FIG. 8C ormovement 818, FIG. 8G) of the finger contact 810 to a location outsidethe selected first box of content (FIG. 8D or FIG. 8H, respectively).

In some embodiments, while detecting movement of the finger contactoutside the selected first box of content, the device visuallydistinguishes (1734) selected boxes of content (or boxes of content thatwill be selected if lift off of the finger contact is detected at thecurrent location of the finger contact) from content on the touch screendisplay that is not selected.

The device detects (1736) lift off of the finger contact at the locationoutside the selected first box of content.

The device selects (1738) one or more additional boxes of content in theplurality of boxes of content in accordance with the location of thefinger contact outside the first box of content (FIG. 8E or 8I,respectively). In some embodiments, the selection occurs after detectinglift off of the finger contact at the location outside the selectedfirst box of content. In some embodiments, the selection occurs beforedetecting lift off of the finger contact at the location outside theselected first box of content, and is finalized by the lift off.

The selected boxes of content may be further expanded with additionalfinger gestures on the selection handles 808, as illustrated by fingercontact 820 and movement 822 in FIGS. 8J and 8K.

In some embodiments, the device copies (1740) the selected first box ofcontent and the selected one or more additional boxes of content (e.g.,in response to detecting a finger gesture on a “copy” icon 534 in acommand display area 530 adjacent to the selected content, FIG. 8E andFIG. 8I). Furthermore, in some embodiments, the copied content is postedto a “pasteboard” in memory, making the copied content available forpasting in (i.e., copied to) the current application as well as in otherapplications executed by the device. When the copied content includesmore than one box of content, or content of more than one data type, thecopied content may be posted to the pasteboard as multiple objects, onefor each distinct box of content or data item. Different posted objectscan have different data types (e.g., image, HTML, text, etc.).

In some embodiments, the device pastes (1742) the selected first box ofcontent and the selected one or more additional boxes of content (e.g.,pasting the selected content into an email, note, or word processingdocument in a corresponding application on the multifunction device).

In some embodiments, the formatting and other metadata in the copiedselected content is lost during pasting and only text in the selectedcontent is pasted (e.g., copying the box of content 806 from FIG. 8Linto a note in FIG. 8M). In some embodiments, the formatting and othermetadata in the copied selected content is maintained during pasting(e.g., copying the box of content 806 from FIG. 8L into an email, FIGS.8N and 8O).

FIG. 18 is a flow diagram illustrating a method of selecting content instructured electronic documents in accordance with some embodiments. Themethod 1800 is performed at a multifunction device (e.g., 300, FIG. 3)with a touch screen display. In some embodiments, the method isperformed at a portable multifunction device with a touch screen display(e.g., portable multifunction device 100). Some operations in method1800 may be combined and/or the order of some operations may be changed.

As described below, the method 1800 provides an intuitive way to selectcontent within a single block of content in a structured electronicdocument (e.g., a web page) at a multifunction device with a touchscreen display. The method reduces the cognitive burden on a user whenselecting content, thereby creating a more efficient human-machineinterface. For battery-operated devices, enabling a user to performcontent selection faster and more efficiently conserves power andincreases the time between battery charges.

The device displays (1802) at least a portion of a structured electronicdocument on the touch screen display at a first magnification. Thestructured electronic document comprises a plurality of boxes ofcontent.

The device detects (1804) a first finger gesture on a first box ofcontent in the plurality of boxes of content.

In response to detecting the first finger gesture on the first box ofcontent in the plurality of boxes of content, the device selects thefirst box of content and visually distinguishes the selected first boxof content from content on the touch screen display that is not selected(1806), as shown in FIG. 8P. In some embodiments, the first box ofcontent is selected for copying. In some embodiments, the first box ofcontent is selected for use as input to another operation, such asmapping, searching, or one of the operations described above withrespect to FIGS. 6A-6BB.

In some embodiments, the device detects (1808) a second finger gestureprior to detecting a finger contact on the respective end of theselected first box of content (e.g., a finger gesture that moves aselection handle 808 within the selected first box of content 806, FIG.8P). In response detecting a second finger gesture, the device switchesfrom a mode configured to select one or more boxes of content (FIG. 8P)to a mode configured to select content within a single box of content(FIG. 8Q).

The device detects (1810) a finger contact on a respective end of theselected first box of content (which end may include a start-pointobject or end-point object or a hidden hit region of one of theseobjects). The respective end is either the beginning or the end of theselected content. For example, in FIG. 8Q, finger contact 824 is on thebeginning of the selected content. For example, in FIG. 8S, fingercontact 826 is on the end of the selected content.

The device displays (1812) a content magnifier 702 adjacent to therespective end of the selected first box of content (FIGS. 8R and 8S).The content magnifier 702 displays: an expanded portion 708 of thecontent proximate to the respective end of the selected first box ofcontent at a second magnification that is greater than the firstmagnification, and a boundary marker 704 that denotes a current positionof the respective end of the selected first box of content.

The device detects (1814) movement of the finger contact across thetouch screen display within the selected first box of content 806.

The device updates (1816) the respective end of the selected first boxof content and the displayed expanded portion of the content proximateto the respective end at the second magnification in accordance with themovement of the finger contact (FIGS. 8R and 8S).

The device moves (1818) the content magnifier and the boundary marker inaccordance with the movement of the finger contact (FIGS. 8R and 8S).

Other aspects of content selection described above (e.g., with respectto FIGS. 7A-7E) may be used here as well. Once the content is selected,the device may, in response to user input, perform operations on theselected content such as those described above with respect to FIGS.6A-6BB that are applicable to read-only content.

FIG. 19 is a flow diagram illustrating a method of selecting content instructured electronic documents based on document complexity criteria inaccordance with some embodiments. The method 1900 is performed at amultifunction device (e.g., 300, FIG. 3) with a touch screen display. Insome embodiments, the method is performed at a portable multifunctiondevice with a touch screen display (e.g., portable multifunction device100). Some operations in method 1900 may be combined and/or the order ofsome operations may be changed.

As described below, the method 1900 provides a way to tailor the methodof content selection to the complexity of a structured electronicdocument, such as an HTML email, at a multifunction device with a touchscreen display. The method selects entire boxes of content in complexdocuments while allowing more precise selections in documents withsimple structures. The method reduces the cognitive burden on a userwhen selecting content, thereby creating a more efficient human-machineinterface. For battery-operated devices, enabling a user to performcontent selection faster and more efficiently conserves power andincreases the time between battery charges.

The device displays (1902) at least a portion of a structured electronicdocument on the touch screen display (e.g., an HTML email received bythe user and displayed in an email application). The structuredelectronic document comprises a plurality of boxes of content.

The device determines (1904) whether the structured electronic documentmeets one or more predefined document complexity criteria.

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentincludes (1906) a plurality of columns that contain boxes of content.

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentincludes (1908) at least one non-inline image.

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentincludes (1910) at least a predefined number of levels of nestedelements (e.g., for an HTML email document, at least 3 levels of nestedelements).

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentuses (1912) cascading style sheets.

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentincludes (1914) a floated object.

In some embodiments, the one or more predefined document complexitycriteria comprise a requirement that the structured electronic documentincludes (1916) text floated around an object.

The device selects (1918) one or more entire boxes of content inresponse to one or more finger gestures when the structured electronicdocument meets at least one predefined document complexity criteria.

The device selects (1920) a gesture-specified portion of at least onebox of content when the structured electronic document does not meet atleast one predefined document complexity criteria. The gesture-specifiedportion may be a portion within one box of content. Thegesture-specified portion may include a portion of a first box and aportion of an adjacent box. The gesture-specified portion may include aportion of a first box, a portion of a last box, and the entirety ofboxes between the first box and the last box. In other words, forstructured electronic documents (e.g., HTML emails) that do not meet anyof the document complexity criteria, the respective ends of the selectedcontent may be placed within box(es) of content such that only a portionof some box(es) is selected (e.g., using gestures such as thosediscussed above with respect to FIGS. 10A-10D and 13A-13G). In contrast,for structured electronic documents that meet at least one documentcomplexity criteria, entire boxes of content are selected (e.g., usinggestures such as those discussed above with respect to FIGS. 17A-17B).

Other aspects of content selection described above (e.g., with respectto FIGS. 7A-7E) may be used here as well. Once the content is selected,the device may, in response to user input, perform operations on theselected content such as those described above with respect to FIGS.6A-6BB that are applicable to read-only content.

The steps in the information processing methods described above may beimplemented by running one or more functional modules in informationprocessing apparatus such as general purpose processors or applicationspecific chips. These modules, combinations of these modules, and/ortheir combination with general hardware (e.g., as described above withrespect to FIGS. 1A, 1B and 3) are all included within the scope ofprotection of the invention.

The foregoing description, for purpose of explanation, has beendescribed with reference to specific embodiments. However, theillustrative discussions above are not intended to be exhaustive or tolimit the invention to the precise forms disclosed. Many modificationsand variations are possible in view of the above teachings. Theembodiments were chosen and described in order to best explain theprinciples of the invention and its practical applications, to therebyenable others skilled in the art to best utilize the invention andvarious embodiments with various modifications as are suited to theparticular use contemplated.

What is claimed is:
 1. An electronic device, comprising: a touch screendisplay; one or more processors; memory; and one or more programswherein the one or more programs are stored in the memory and configuredto be executed by the one or more processors, the one or more programsincluding instructions for: displaying a user interface element thatcontains content, wherein the content includes content selected forediting; visually distinguishing the content selected for editing fromdisplayed content that is not selected for editing; displaying anediting command display area element that includes a plurality ofcommand icons; moving the content on the touch screen display, includingmoving the content selected for editing; ceasing to display the editingcommand display area element while moving the content; when the contentstops moving, redisplaying the editing command display area element;detecting activation of a command icon of the plurality of command iconsin the editing command display area, in response to detecting activationof the command icon of the plurality of command icons, performing acorresponding action with respect to the selected content.
 2. Theelectronic device of claim 1, wherein the plurality of command icons ofthe editing command display area element are displayed in a row.
 3. Theelectronic device of claim 1, wherein the one or more programs furtherinclude instructions for: detecting input by a user, in response todetecting input by the user: deselecting the selected content; andceasing to display the editing command display area.
 4. The electronicdevice of claim 1, wherein the one or more programs further includeinstructions for: detecting a typing input by a user, in response todetecting the typing input by the user: replacing the selected contentwith characters that correspond to the typing input; and ceasing todisplay the editing command display area element.
 5. The electronicdevice of claim 1, wherein the plurality of command icons includes acommand icon for copying the content selected for editing.
 6. Theelectronic device of claim 1, wherein the plurality of command iconsincludes a command icon for cutting the content selected for editing. 7.The electronic device of claim 1, wherein the plurality of command iconsincludes a command icon for pasting previously cut or copied content. 8.The electronic device of claim 1, wherein the plurality of command iconsincludes a command icon for undoing a previous action.
 9. The electronicdevice of claim 1, wherein the plurality of command icons includes acommand icon for displaying additional command options.
 10. Theelectronic device of claim 1, wherein the plurality of command iconsincludes a command icon for providing information about a locationincluded in the content selected for editing.
 11. The electronic deviceof claim 1, wherein the plurality of command icons includes a firstcommand icon for calling a phone number using a phone number included inthe content selected for editing or a second command icon for initiatingan email message using an email address included in the content selectedfor editing.
 12. The electronic device of claim 1, wherein the pluralityof command icons includes at least one command icon that is contextsensitive.
 13. The electronic device of claim 1, wherein the one or moreprograms further include instructions for: in response to detectingactivation of the command icon in the editing command display area,ceasing to display the editing command display area element.
 14. Theelectronic device of claim 1, wherein the content selected for editingincludes a start-point object and an end-point object, and wherein theone or more programs further include instructions for: detecting agesture on the start-point object by a user, in response to detectingthe gesture by the user: ceasing to display the editing command displayarea element; and displaying an insertion marker at the start of theselected content.
 15. The electronic device of claim 1, wherein thecontent selected for editing includes a start-point object and anend-point object, and wherein the one or more programs further includeinstructions for: detecting a gesture on the end-point object by a user,in response to detecting the gesture by the user: ceasing to display theediting command display area element; displaying an insertion marker atthe end of the selected content.
 16. A non-transitory computer-readablestorage medium storing one or more programs, the one or more programscomprising instructions, which when executed by a multifunction devicewith a touch screen display, cause the device to: display a userinterface element that contains content, wherein the content includescontent selected for editing; visually distinguishing the contentselected for editing from displayed content that is not selected forediting; display an editing command display area element that includes aplurality of command icons; move the content on the touch screendisplay, including moving the content selected for editing; cease todisplay the editing command display area element while moving thecontent; when the content stops moving, redisplaying the editing commanddisplay area element; detect activation of a command icon of theplurality of command icons in the editing command display area, inresponse to detecting activation of the command icon of the plurality ofcommand icons, performing a corresponding action with respect to theselected content.
 17. The non-transitory computer-readable storagemedium of claim 16, wherein the plurality of command icons of theediting command display area element are displayed in a row.
 18. Thenon-transitory computer-readable storage medium of claim 16, wherein theone or more programs further include instructions, which when executedby the multifunction device with the touch screen display, cause thedevice to: detect input by a user, in response to detecting input by theuser: deselect the selected content; and cease to display the editingcommand display area.
 19. The non-transitory computer-readable storagemedium of claim 16, wherein the one or more programs further includeinstructions, which when executed by the multifunction device with thetouch screen display, cause the device to: detect a typing input by auser, in response to detecting the typing input by the user: replace theselected content with characters that correspond to the typing input;and cease to display the editing command display area element.
 20. Thenon-transitory computer-readable storage medium of claim 16, wherein theplurality of command icons includes a command icon for copying thecontent selected for editing.
 21. The non-transitory computer-readablestorage medium of claim 16, wherein the plurality of command iconsincludes a command icon for cutting the content selected for editing.22. The non-transitory computer-readable storage medium of claim 16,wherein the plurality of command icons includes a command icon forpasting previously cut or copied content.
 23. The non-transitorycomputer-readable storage medium of claim 16, wherein the plurality ofcommand icons includes a command icon for undoing a previous action. 24.The non-transitory computer-readable storage medium of claim 16, whereinthe plurality of command icons includes a command icon for displayingadditional command options.
 25. The non-transitory computer-readablestorage medium of claim 16, wherein the plurality of command iconsincludes a command icon for providing information about a locationincluded in the content selected for editing.
 26. The non-transitorycomputer-readable storage medium of claim 16, wherein the plurality ofcommand icons includes a first command icon for calling a phone numberusing a phone number included in the content selected for editing and asecond command icon for initiating an email message using an emailaddress included in the content selected for editing.
 27. Thenon-transitory computer-readable storage medium of claim 16, wherein theplurality of command icons includes at least one command icon that iscontext sensitive.
 28. The non-transitory computer-readable storagemedium of claim 16, wherein the one or more programs further includeinstructions, which when executed by the multifunction device with thetouch screen display, cause the device to: in response to detectingactivation of the command icon in the editing command display area,ceasing to display the editing command display area element.
 29. Thenon-transitory computer-readable storage medium of claim 16, wherein thecontent selected for editing includes a start-point object and anend-point object, and wherein the one or more programs further includeinstructions, which when executed by the multifunction device with thetouch screen display, cause the device to: detect a gesture on thestart-point object by a user, in response to detecting the gesture bythe user: cease to display the editing command display area element; anddisplay an insertion marker at the start of the selected content. 30.The non-transitory computer-readable storage medium of claim 16, whereinthe content selected for editing includes a start-point object and anend-point object, and wherein the one or more programs further includeinstructions, which when executed by the multifunction device with thetouch screen display, cause the device to: detect a gesture on theend-point object by a user, in response to detecting the gesture by theuser: cease to display the editing command display area element; displayan insertion marker at the end of the selected content.
 31. A method,comprising: at a multifunction device with a touch screen display:displaying a user interface element that contains content, wherein thecontent includes content selected for editing; visually distinguishingthe content selected for editing from displayed content that is notselected for editing; displaying an editing command display area elementthat includes a plurality of command icons; moving the content on thetouch screen display, including moving the content selected for editing;ceasing to display the editing command display area element while movingthe content; when the content stops moving, redisplaying the editingcommand display area element; detecting activation of a command icon ofthe plurality of command icons in the editing command display area, inresponse to detecting activation of the command icon of the plurality ofcommand icons, performing a corresponding action with respect to theselected content.
 32. The method of claim 31, wherein the plurality ofcommand icons of the editing command display area element are displayedin a row.
 33. The method of claim 31, further comprising: detectinginput by a user, in response to detecting input by the user: deselectingthe selected content; and ceasing to display the editing command displayarea.
 34. The method of claim 31, further comprising: detecting a typinginput by a user, in response to detecting the typing input by the user:replacing the selected content with characters that correspond to thetyping input; and ceasing to display the editing command display areaelement.
 35. The method of claim 31, wherein the plurality of commandicons includes a command icon for copying the content selected forediting.
 36. The method of claim 31, wherein the plurality of commandicons includes a command icon for cutting the content selected forediting.
 37. The method of claim 31, wherein the plurality of commandicons includes a command icon for pasting previously cut or copiedcontent.
 38. The method of claim 31, wherein the plurality of commandicons includes a command icon for undoing a previous action.
 39. Themethod of claim 31, wherein the plurality of command icons includes acommand icon for displaying additional command options.
 40. The methodof claim 31, wherein the plurality of command icons includes a commandicon for providing information about a location included in the contentselected for editing.
 41. The method of claim 31, wherein the pluralityof command icons includes a first command icon for calling a phonenumber using a phone number included in the content selected for editingand a second command icon for initiating an email message using an emailaddress included in the content selected for editing.
 42. The method ofclaim 31, wherein the plurality of command icons includes at least onecommand icon that is context sensitive.
 43. The method of claim 31,further comprising: in response to detecting activation of the commandicon in the editing command display area, ceasing to display the editingcommand display area element.
 44. The method of claim 31, wherein thecontent selected for editing includes a start-point object and anend-point object, and wherein the method further comprises: detecting agesture on the start-point object by a user, in response to detectingthe gesture by the user: ceasing to display the editing command displayarea element; and displaying an insertion marker at the start of theselected content.
 45. The method of claim 31, wherein the contentselected for editing includes a start-point object and an end-pointobject, and wherein the method further comprises: detecting a gesture onthe end-point object by a user, in response to detecting the gesture bythe user: ceasing to display the editing command display area element;displaying an insertion marker at the end of the selected content.